diff options
author | Vitaly Takmazov | 2019-03-21 21:36:00 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-03-21 21:36:00 +0300 |
commit | f2b243f33cb25c9c34f983177487f3060a804840 (patch) | |
tree | 5f57d085a798580b04a38d0d6dc887cbbbb6b651 | |
parent | 6b40f06a691e1264f6e35b6a5616198e6977787d (diff) |
Styling
-rw-r--r-- | Juick/AppDelegate.m | 5 | ||||
-rw-r--r-- | Juick/Main.storyboard | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index b58251b..cf2afa8 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -26,8 +26,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[UINavigationBar appearance] setTintColor:[UIColor colorNamed:@"Title"]]; - //[[UINavigationBar appearance] setBarTintColor:[ColorScheme headerBackground]]; - [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor colorNamed:@"Title"]}]; + [[UINavigationBar appearance] setBarTintColor:[UIColor whiteColor]]; + [[UINavigationBar appearance] setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor colorNamed:@"Muted"]}]; + [[UINavigationBar appearance] setLargeTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor colorNamed:@"Muted"]}]; [[UIToolbar appearance] setTintColor:[UIColor colorNamed:@"Title"]]; [[UITabBar appearance] setTintColor:[UIColor colorNamed:@"Title"]]; diff --git a/Juick/Main.storyboard b/Juick/Main.storyboard index 13f6304..532d492 100644 --- a/Juick/Main.storyboard +++ b/Juick/Main.storyboard @@ -47,9 +47,10 @@ <objects> <navigationController id="k3X-uv-0IF" sceneMemberID="viewController"> <tabBarItem key="tabBarItem" title="Today" image="ei-clock" id="Qml-qG-fK2"/> - <navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" largeTitles="YES" id="3ze-yo-W7s"> - <rect key="frame" x="0.0" y="20" width="375" height="96"/> + <navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="3ze-yo-W7s"> + <rect key="frame" x="0.0" y="20" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> + <color key="barTintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> </navigationBar> <connections> <segue destination="VCH-GK-jaH" kind="relationship" relationship="rootViewController" id="Rgn-In-COD"/> @@ -288,7 +289,7 @@ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="XYj-Y4-lfM"> - <rect key="frame" x="4" y="112" width="367" height="551"/> + <rect key="frame" x="4" y="60" width="367" height="603"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/> <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> |