summaryrefslogtreecommitdiff
path: root/Juick/ColorsAndButtons.m
blob: c99707d6aae7a5d46f323367b39487601f10323b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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