diff options
author | Vitaly Takmazov | 2013-11-05 00:23:45 +0400 |
---|---|---|
committer | Vitaly Takmazov | 2013-11-05 00:25:18 +0400 |
commit | 633ae14fa1448330e58b12160dd0be35f78c1d57 (patch) | |
tree | f7093c1d4249c1bb6a9595bdd1ae8d6cecf07180 /Juick/AppDelegate.m | |
parent | fad0e1e93e1f2e145970829f81a0c20e42eba09a (diff) |
Colors
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r-- | Juick/AppDelegate.m | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index 3fa3030..aa00698 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -11,15 +11,16 @@ #import "RevealPanelViewController.h" #import "SWRevealViewController.h" +#import "Colors.h" + @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // style the navigation bar - UIColor* navColor = [UIColor colorWithRed:44/255.0f green:44/255.0f blue:44/255.0f alpha:1]; - [[UINavigationBar appearance] setBarTintColor:navColor]; - [[UINavigationBar appearance] setTintColor:[UIColor colorWithRed:153/255.0f green:154/255.0f blue:153/255.0f alpha:1]]; - [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor colorWithRed:153/255.0f green:154/255.0f blue:153/255.0f alpha:1]}]; + [[UINavigationBar appearance] setBarTintColor:[Colors navbarBackground]]; + [[UINavigationBar appearance] setTintColor:[Colors navbarFont]]; + [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [Colors navbarFont]}]; // make the status bar white [UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent; |