Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 8aab7ef

Browse files
authored
Use white background everywhere (#2579)
* use white background everywhere * bookmark header tweak * emoji picker bg consistent
1 parent 2e908a4 commit 8aab7ef

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

Classes/Settings/Settings.storyboard

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="d42-bu-Upj">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="d42-bu-Upj">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
99
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1010
</dependencies>
1111
<scenes>
@@ -19,12 +19,12 @@
1919
<color key="backgroundColor" red="0.96470588235294119" green="0.97254901960784312" blue="0.98039215686274506" alpha="1" colorSpace="calibratedRGB"/>
2020
<color key="separatorColor" red="0.73725490196078436" green="0.73333333333333328" blue="0.75686274509803919" alpha="1" colorSpace="calibratedRGB"/>
2121
<inset key="separatorInset" minX="16" minY="0.0" maxX="0.0" maxY="0.0"/>
22-
<view key="tableFooterView" contentMode="scaleToFill" id="jkq-3p-p02">
22+
<view key="tableFooterView" contentMode="scaleToFill" misplaced="YES" id="jkq-3p-p02">
2323
<rect key="frame" x="0.0" y="781.5" width="375" height="44"/>
2424
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
2525
<subviews>
2626
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Version 1.4.0 (1207)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2bb-Lj-p2k" customClass="SettingsLabel" customModule="Freetime" customModuleProvider="target">
27-
<rect key="frame" x="116.5" y="12.5" width="142" height="19.5"/>
27+
<rect key="frame" x="116.5" y="179" width="142" height="19.5"/>
2828
<fontDescription key="fontDescription" type="system" pointSize="16"/>
2929
<color key="textColor" red="0.14117647058823529" green="0.16078431372549018" blue="0.1803921568627451" alpha="1" colorSpace="calibratedRGB"/>
3030
<nil key="highlightedColor"/>
@@ -496,8 +496,8 @@
496496
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" id="bOV-gp-5Q9">
497497
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
498498
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
499-
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
500-
<color key="separatorColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
499+
<color key="backgroundColor" red="0.96470588239999999" green="0.97254901959999995" blue="0.98039215690000003" alpha="1" colorSpace="calibratedRGB"/>
500+
<color key="separatorColor" red="0.73725490196078436" green="0.73333333333333328" blue="0.75686274509803919" alpha="1" colorSpace="calibratedRGB"/>
501501
<sections>
502502
<tableViewSection id="um3-Ah-wWf">
503503
<cells>
@@ -659,7 +659,7 @@
659659
</tableViewController>
660660
<placeholder placeholderIdentifier="IBFirstResponder" id="2Iq-39-nex" userLabel="First Responder" sceneMemberID="firstResponder"/>
661661
</objects>
662-
<point key="canvasLocation" x="665" y="-131"/>
662+
<point key="canvasLocation" x="-34" y="-134"/>
663663
</scene>
664664
<!--Accounts-->
665665
<scene sceneID="Xjx-IC-OZR">

Classes/View Controllers/SplitPlaceholderViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ final class SplitPlaceholderViewController: UIViewController {
1515

1616
override func viewDidLoad() {
1717
super.viewDidLoad()
18-
view.backgroundColor = Styles.Colors.background
18+
view.backgroundColor = Styles.Colors.Gray.lighter.color
1919

2020
view.addSubview(imageView)
2121
imageView.snp.makeConstraints { make in

Classes/Views/ClearAllHeaderCell.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ final class ClearAllHeaderCell: UICollectionViewCell {
2323
override init(frame: CGRect) {
2424
super.init(frame: frame)
2525

26+
backgroundColor = Styles.Colors.Gray.lighter.color
27+
2628
label.font = Styles.Text.secondary.preferredFont
27-
label.textColor = Styles.Colors.Gray.light.color
29+
label.textColor = Styles.Colors.Gray.medium.color
2830
contentView.addSubview(label)
2931
label.snp.makeConstraints { make in
3032
make.left.equalTo(Styles.Sizes.gutter)

Classes/Views/Styles.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ enum Styles {
8484

8585
enum Colors {
8686

87-
static let background = Styles.Colors.Gray.lighter.color
87+
static let background = UIColor.white
8888
static let purple = "6f42c1"
8989
static let blueGray = "8697af"
9090
static let menuBackgroundColor = "292D35"

0 commit comments

Comments
 (0)