bg and login style consistency

This commit is contained in:
Ryan Nystrom
2017-06-25 21:31:35 -04:00
parent 1b58d1f458
commit 747bfb6027
6 changed files with 15 additions and 15 deletions

View File

@@ -31,7 +31,7 @@
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="johnyappleseed@me.com" textAlignment="natural" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="ulH-vQ-S5c">
<rect key="frame" x="16" y="0.0" width="343" height="44"/>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" keyboardType="emailAddress" returnKeyType="next"/>
<connections>
<outlet property="delegate" destination="4C9-Cb-DoC" id="sje-Uj-ebr"/>
@@ -60,7 +60,7 @@
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="password" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="R6o-vG-04h">
<rect key="frame" x="16" y="-0.5" width="303" height="44"/>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" returnKeyType="done" secureTextEntry="YES"/>
<connections>
<outlet property="delegate" destination="4C9-Cb-DoC" id="SsG-d2-w1T"/>
@@ -100,9 +100,9 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Sign in" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Rve-Mh-wN5">
<rect key="frame" x="160" y="11" width="55" height="22"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<rect key="frame" x="163.5" y="12.5" width="49" height="19.5"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.011764705882352941" green="0.40000000000000002" blue="0.83921568627450982" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
@@ -155,7 +155,7 @@
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="123456" textAlignment="natural" minimumFontSize="17" clearButtonMode="always" translatesAutoresizingMaskIntoConstraints="NO" id="2Iy-Ud-wlY">
<rect key="frame" x="16" y="-0.5" width="343" height="44"/>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<textInputTraits key="textInputTraits" autocorrectionType="no" spellCheckingType="no" keyboardType="numberPad" returnKeyType="done"/>
<connections>
<outlet property="delegate" destination="1eg-Vk-WvU" id="EJU-0o-wQ7"/>
@@ -182,9 +182,9 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Verify" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cRN-Wf-JYh">
<rect key="frame" x="164" y="10.5" width="47" height="22"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<rect key="frame" x="167" y="12" width="42" height="19.5"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" red="0.011764705882352941" green="0.40000000000000002" blue="0.83921568627450982" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>

View File

@@ -30,7 +30,7 @@ final class SettingsViewController: UIViewController, ListAdapterDataSource, Git
bottom: Styles.Sizes.tableSectionSpacing,
right: 0
)
view.backgroundColor = Styles.Colors.Gray.lighter.color
view.backgroundColor = UIColor.groupTableViewBackground
return view
}()

View File

@@ -25,7 +25,7 @@ final class Feed {
lazy var collectionView: UICollectionView = {
let view = UICollectionView(frame: .zero, collectionViewLayout: UICollectionViewFlowLayout())
view.alwaysBounceVertical = true
view.backgroundColor = Styles.Colors.Gray.lighter.color
view.backgroundColor = UIColor.groupTableViewBackground
view.refreshControl = UIRefreshControl()
view.refreshControl?.addTarget(self, action: #selector(Feed.onRefresh(sender:)), for: .valueChanged)
return view

View File

@@ -16,9 +16,9 @@ final class EmptyView: UIView {
override init(frame: CGRect) {
super.init(frame: frame)
backgroundColor = Styles.Colors.Gray.lighter.color
backgroundColor = UIColor.groupTableViewBackground
label.backgroundColor = Styles.Colors.Gray.lighter.color
label.backgroundColor = .clear
label.textAlignment = .center
label.font = Styles.Fonts.body
label.textColor = Styles.Colors.Gray.medium.color

View File

@@ -18,7 +18,7 @@ struct Styles {
static let columnSpacing: CGFloat = 8
static let rowSpacing: CGFloat = 8
static let cellSpacing: CGFloat = 15
static let tableCellHeight: CGFloat = 55
static let tableCellHeight: CGFloat = 44
static let tableSectionSpacing: CGFloat = 35
static let avatar = CGSize(width: 30, height: 30)
static let inlineSpacing: CGFloat = 4

View File

@@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleVersion</key>
<string>16</string>
<string>23</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>org-appextension-feature-password-management</string>