summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-11-23 00:40:23 +0300
committerGravatar Vitaly Takmazov2017-11-23 00:40:23 +0300
commita0ded4b01f33f072ff7341d563c147b335667df9 (patch)
treecc2f9dbe5ace62f1826b75c78c60c0101137ab9d
parent7249cda59a1a8ca061b9d3afa443921286f56781 (diff)
colors
-rw-r--r--Juick/AppDelegate.m2
-rw-r--r--Juick/Helpers/ColorScheme.m4
-rw-r--r--Juick/Main.storyboard4
3 files changed, 5 insertions, 5 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m
index d4f0b8c..1989de2 100644
--- a/Juick/AppDelegate.m
+++ b/Juick/AppDelegate.m
@@ -20,7 +20,7 @@
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[[UINavigationBar appearance] setTintColor:[ColorScheme linkColor]];
- [[UINavigationBar appearance] setBackgroundColor:[ColorScheme headerBackground]];
+ [[UINavigationBar appearance] setBarTintColor:[ColorScheme headerBackground]];
[[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [ColorScheme linkColor]}];
[[UIToolbar appearance] setTintColor:[ColorScheme linkColor]];
diff --git a/Juick/Helpers/ColorScheme.m b/Juick/Helpers/ColorScheme.m
index 53cca4f..2658e0f 100644
--- a/Juick/Helpers/ColorScheme.m
+++ b/Juick/Helpers/ColorScheme.m
@@ -25,11 +25,11 @@
}
+ (UIColor *) headerBackground {
- return [self colorWithHex:0xeeeee5];
+ return [self colorWithHex:0xf2f2ec];
}
+ (UIColor *) mainBackground {
- return [self colorWithHex:0xddddd5];
+ return [self colorWithHex:0xeaeadf];
}
+ (UIColor *) linkColor {
diff --git a/Juick/Main.storyboard b/Juick/Main.storyboard
index 3e40aa2..201ee3a 100644
--- a/Juick/Main.storyboard
+++ b/Juick/Main.storyboard
@@ -5,7 +5,7 @@
</device>
<dependencies>
<deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13174"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
@@ -247,7 +247,7 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GB6-qL-STb" customClass="PostView">
+ <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GB6-qL-STb">
<rect key="frame" x="8" y="72" width="359" height="543"/>
<subviews>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="XYj-Y4-lfM">