From a795a089148f73389f1e35430ed94a9aec9156e7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 5 Nov 2013 03:23:31 +0400 Subject: colors and buttons --- Juick/ColorsAndButtons.m | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Juick/ColorsAndButtons.m (limited to 'Juick/ColorsAndButtons.m') 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 -- cgit v1.2.3