Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 32 lines (24 sloc) 0.555 kb
//
// ColorUtils.m
//
#import "ColorUtils.h"
static UIColor *gNavigationBarColors[5];
static UIColor *gUnreadCellColors[5];
@implementation UIColor (UIColorUtils)
+ (UIColor*)navigationColorForTab:(int)tab
{
return gNavigationBarColors[tab];
}
+ (UIColor*)cellColorForTab:(int)tab
{
return gUnreadCellColors[tab];
}
+ (UIColor*)cellLabelColor
{
return [UIColor colorWithRed:0.195 green:0.309 blue:0.520 alpha:1.0];
}
+ (UIColor*)conversationBackground
{
return [UIColor colorWithRed:0.859 green:0.886 blue:0.929 alpha:1.0];
}
@end
Jump to Line
Something went wrong with that request. Please try again.