From 633ae14fa1448330e58b12160dd0be35f78c1d57 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 5 Nov 2013 00:23:45 +0400 Subject: Colors --- Juick/RevealPanelViewController.m | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Juick/RevealPanelViewController.m') diff --git a/Juick/RevealPanelViewController.m b/Juick/RevealPanelViewController.m index 3381e28..67f1a08 100644 --- a/Juick/RevealPanelViewController.m +++ b/Juick/RevealPanelViewController.m @@ -8,6 +8,8 @@ #import "RevealPanelViewController.h" +#import "Colors.h" + @interface RevealPanelViewController () @end @@ -27,7 +29,7 @@ { [super viewDidLoad]; self.title = @"Juick"; - [self.view setBackgroundColor:[UIColor colorWithRed:238/255.0f green:238/255.0f blue:229/255.0f alpha:1.0f]]; + [self.view setBackgroundColor:[Colors mainBackground]]; } - (void)didReceiveMemoryWarning @@ -51,8 +53,7 @@ NSInteger row = indexPath.row; if (cell == nil) { cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellIdentifier]; - [cell setBackgroundColor:[UIColor colorWithRed:236/255.0f green:237/255.0f blue:227/255.0f alpha:1]]; - cell.textLabel.textColor = [UIColor colorWithRed:0 green:102/255.0f blue:153/255.0f alpha:1.0f]; + cell.textLabel.textColor = [Colors linkColor]; } if (row == 0) { cell.textLabel.text = @"My feed"; -- cgit v1.2.3