diff options
Diffstat (limited to 'Juick/ColorsAndButtons.m')
-rw-r--r-- | Juick/ColorsAndButtons.m | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/Juick/ColorsAndButtons.m b/Juick/ColorsAndButtons.m new file mode 100644 index 0000000..c99707d --- /dev/null +++ b/Juick/ColorsAndButtons.m @@ -0,0 +1,50 @@ +// +// Colors.m +// Juick +// +// Created by Vitaly Takmazov on 05.11.13. +// Copyright (c) 2013 com.juick. All rights reserved. +// + +#import "ColorsAndButtons.h" +#import "UIImage+Crop.h" + +UIImage *buttons; + +@implementation ColorsAndButtons + ++ (void) initialize +{ + [super initialize]; + buttons = [UIImage imageNamed:@"buttons.png"]; +} + + ++ (UIColor *) mainBackground { + return [UIColor colorWithRed:238/255.0f green:238/255.0f blue:229/255.0f alpha:1.0f]; +} + ++ (UIColor *) linkColor { + return [UIColor colorWithRed:0/255.0f green:102/255.0f blue:153/255.0f alpha:1.0f]; +} + ++ (UIColor *) navbarBackground { + return [UIColor colorWithRed:51/255.0f green:51/255.0f blue:51/255.0f alpha:1]; +} + ++ (UIColor *) navbarFont { + return [UIColor colorWithRed:153/255.0f green:154/255.0f blue:153/255.0f alpha:1]; +} + ++(UIImage *) homeImage { + return [buttons crop:CGRectMake(142, 0, 32, 32)]; +} ++ (UIImage *) discoverImage { + return [buttons crop:CGRectMake(174, 0, 32, 32)]; +} + ++ (UIImage *) logo { + return [buttons crop:CGRectMake(0, 0, 109, 32)]; +} + +@end |