summaryrefslogtreecommitdiff
path: root/Juick/Helpers
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/Helpers')
-rw-r--r--Juick/Helpers/ColorScheme.h20
-rw-r--r--Juick/Helpers/ColorScheme.m47
2 files changed, 0 insertions, 67 deletions
diff --git a/Juick/Helpers/ColorScheme.h b/Juick/Helpers/ColorScheme.h
deleted file mode 100644
index 6620a96..0000000
--- a/Juick/Helpers/ColorScheme.h
+++ /dev/null
@@ -1,20 +0,0 @@
-//
-// Colors.h
-// Juick
-//
-// Created by Vitaly Takmazov on 05.11.13.
-// Copyright (c) 2013 com.juick. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-@interface ColorScheme : NSObject
-
-+ (UIColor *)colorWithHex:(UInt32)col;
-
-+(UIColor *) mainBackground;
-+(UIColor *) textColor;
-+(UIColor *) headerBackground;
-+(UIColor *) linkColor;
-+(UIColor *) secondaryBackground;
-@end
diff --git a/Juick/Helpers/ColorScheme.m b/Juick/Helpers/ColorScheme.m
deleted file mode 100644
index 1b72da2..0000000
--- a/Juick/Helpers/ColorScheme.m
+++ /dev/null
@@ -1,47 +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 *) headerBackground {
- return [self colorWithHex:0xffffff];
-}
-
-+ (UIColor *) mainBackground {
- return [self colorWithHex:0xf8f8f8];
-}
-+ (UIColor *) textColor {
- return [self colorWithHex:0x222222];
-}
-
-+ (UIColor *) linkColor {
- return [self colorWithHex:0x006699];
-}
-
-+ (UIColor *) secondaryBackground {
- return [self colorWithHex:0xff339a];
-}
-
-
-@end