diff options
author | 2016-08-28 21:03:22 +0300 | |
---|---|---|
committer | 2016-08-28 21:03:22 +0300 | |
commit | 188d8e4ea870d1a6c8edd5a9b323742804badeba (patch) | |
tree | 071067f7189a6474d49abb952b1b04b820985b7a /Juick/ColorScheme.m | |
parent | a74588083c4950e9237dff7a84ccdd129b72c950 (diff) |
project cleanup
Diffstat (limited to 'Juick/ColorScheme.m')
-rw-r--r-- | Juick/ColorScheme.m | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/Juick/ColorScheme.m b/Juick/ColorScheme.m deleted file mode 100644 index 8417489..0000000 --- a/Juick/ColorScheme.m +++ /dev/null @@ -1,37 +0,0 @@ -// -// Colors.m -// Juick -// -// Created by Vitaly Takmazov on 05.11.13. -// Copyright (c) 2013 com.juick. All rights reserved. -// - -#import "ColorScheme.h" - -@implementation ColorScheme - -+ (void) initialize -{ - [super initialize]; -} - -// takes 0x123456 -+ (UIColor *)colorWithHex:(UInt32)col { - unsigned char r, g, b; - b = col & 0xFF; - g = (col >> 8) & 0xFF; - r = (col >> 16) & 0xFF; - return [UIColor colorWithRed:(float)r/255.0f green:(float)g/255.0f blue:(float)b/255.0f alpha:1]; -} - - -+ (UIColor *) mainBackground { - return [UIColor colorWithRed:238/255.0f green:238/255.0f blue:229/255.0f alpha:1.0f]; -} - -+ (UIColor *) linkColor { - return [self colorWithHex:0x006699]; -} - - -@end |