mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
reskin: Put back riot colors in the main tab bar icons
This commit is contained in:
parent
4aba851079
commit
e66ffe4cb2
6 changed files with 12 additions and 1 deletions
|
@ -52,6 +52,8 @@ extern UIColor *kRiotColorPinkRed;
|
|||
extern UIColor *kRiotColorRed;
|
||||
extern UIColor *kRiotColorBlue;
|
||||
extern UIColor *kRiotColorCuriousBlue;
|
||||
extern UIColor *kRiotColorIndigo;
|
||||
extern UIColor *kRiotColorOrange;
|
||||
|
||||
#pragma mark - Riot Standard Room Member Power Level
|
||||
extern NSInteger const kRiotRoomModeratorLevel;
|
||||
|
|
|
@ -42,6 +42,8 @@ UIColor *kRiotColorPinkRed;
|
|||
UIColor *kRiotColorRed;
|
||||
UIColor *kRiotColorBlue;
|
||||
UIColor *kRiotColorCuriousBlue;
|
||||
UIColor *kRiotColorIndigo;
|
||||
UIColor *kRiotColorOrange;
|
||||
|
||||
// Riot Background Colors
|
||||
UIColor *kRiotColorLightKeyboard; // TO REMOVE
|
||||
|
@ -87,6 +89,8 @@ UIScrollViewIndicatorStyle kRiotScrollBarStyle;
|
|||
kRiotColorRed = UIColorFromRGB(0xFF4444);
|
||||
kRiotColorBlue = UIColorFromRGB(0x81BDDB);
|
||||
kRiotColorCuriousBlue = UIColorFromRGB(0x2A9EDB);
|
||||
kRiotColorIndigo = UIColorFromRGB(0xBD79CC);
|
||||
kRiotColorOrange = UIColorFromRGB(0xF8A15F);
|
||||
|
||||
kRiotColorLightKeyboard = UIColorFromRGB(0xE7E7E7);
|
||||
kRiotColorDarkKeyboard = UIColorFromRGB(0x7E7E7E);
|
||||
|
|
|
@ -204,6 +204,7 @@
|
|||
}];
|
||||
|
||||
[AppDelegate theDelegate].masterTabBarController.navigationItem.title = NSLocalizedStringFromTable(@"title_groups", @"Vector", nil);
|
||||
[AppDelegate theDelegate].masterTabBarController.tabBar.tintColor = kRiotColorBlue;
|
||||
}
|
||||
|
||||
- (void)viewWillDisappear:(BOOL)animated
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
[super viewWillAppear:animated];
|
||||
|
||||
[AppDelegate theDelegate].masterTabBarController.navigationItem.title = NSLocalizedStringFromTable(@"title_favourites", @"Vector", nil);
|
||||
[AppDelegate theDelegate].masterTabBarController.tabBar.tintColor = kRiotColorIndigo;
|
||||
|
||||
if (recentsDataSource)
|
||||
{
|
||||
|
@ -64,7 +65,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
|
||||
|
|
|
@ -108,6 +108,7 @@
|
|||
}
|
||||
|
||||
[AppDelegate theDelegate].masterTabBarController.navigationItem.title = NSLocalizedStringFromTable(@"title_people", @"Vector", nil);
|
||||
[AppDelegate theDelegate].masterTabBarController.tabBar.tintColor = kRiotColorOrange;
|
||||
|
||||
if (recentsDataSource)
|
||||
{
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
|
||||
#import "DirectoryServerPickerViewController.h"
|
||||
|
||||
#import "Riot-Swift.h"
|
||||
|
||||
@interface RoomsViewController ()
|
||||
{
|
||||
RecentsDataSource *recentsDataSource;
|
||||
|
@ -62,6 +64,7 @@
|
|||
[super viewWillAppear:animated];
|
||||
|
||||
[AppDelegate theDelegate].masterTabBarController.navigationItem.title = NSLocalizedStringFromTable(@"title_rooms", @"Vector", nil);
|
||||
[AppDelegate theDelegate].masterTabBarController.tabBar.tintColor = RiotDesignValues.colorValues.accent;
|
||||
|
||||
if ([self.dataSource isKindOfClass:RecentsDataSource.class])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue