From 633ae14fa1448330e58b12160dd0be35f78c1d57 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 5 Nov 2013 00:23:45 +0400 Subject: Colors --- Juick/AppDelegate.m | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Juick/AppDelegate.m') 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; -- cgit v1.2.3