Skip to content

Commit 9ab2abc

Browse files
committed
Change color to adopt dork mode
1 parent 74ddea6 commit 9ab2abc

File tree

1 file changed

+28
-32
lines changed

1 file changed

+28
-32
lines changed

Examples/Demo/Base.lproj/Main.storyboard

Lines changed: 28 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1217" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3-
<device id="retina3_5" orientation="portrait">
4-
<adaptation id="fullscreen"/>
5-
</device>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3+
<device id="retina3_5" orientation="portrait" appearance="light"/>
64
<dependencies>
75
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
9-
<capability name="Alignment constraints to the first baseline" minToolsVersion="6.0"/>
10-
<capability name="Alignment constraints with different attributes" minToolsVersion="5.1"/>
11-
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
7+
<capability name="System colors in document resources" minToolsVersion="11.0"/>
128
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
139
</dependencies>
1410
<scenes>
@@ -25,16 +21,16 @@
2521
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
2622
<subviews>
2723
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Connection to Studyplus" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pxb-0N-TQW">
28-
<rect key="frame" x="16" y="30" width="211" height="24"/>
24+
<rect key="frame" x="16" y="10" width="211" height="24"/>
2925
<constraints>
3026
<constraint firstAttribute="height" constant="24" id="CVs-DD-Gix"/>
3127
</constraints>
3228
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
3329
<nil key="textColor"/>
3430
<nil key="highlightedColor"/>
3531
</label>
36-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kK6-0n-gJ5">
37-
<rect key="frame" x="77" y="62" width="50" height="25"/>
32+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kK6-0n-gJ5">
33+
<rect key="frame" x="77" y="42" width="50" height="25"/>
3834
<constraints>
3935
<constraint firstAttribute="height" constant="25" id="8U7-L0-KL2"/>
4036
<constraint firstAttribute="width" constant="50" id="fFd-7G-uv6"/>
@@ -44,15 +40,15 @@
4440
<action selector="loginButton:" destination="BYZ-38-t0r" eventType="touchUpInside" id="GFc-Kn-gpd"/>
4541
</connections>
4642
</button>
47-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Jbv-J0-3Wl">
48-
<rect key="frame" x="19" y="113" width="108" height="22"/>
43+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Jbv-J0-3Wl">
44+
<rect key="frame" x="19" y="93" width="108" height="22"/>
4945
<state key="normal" title="Connected?"/>
5046
<connections>
5147
<action selector="connectedButton:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Wn0-gI-n5f"/>
5248
</connections>
5349
</button>
5450
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="StudyRecord Duration" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Gc3-Dv-30S">
55-
<rect key="frame" x="16" y="160" width="181.5" height="21"/>
51+
<rect key="frame" x="16" y="140" width="180.5" height="21"/>
5652
<constraints>
5753
<constraint firstAttribute="height" constant="21" id="QhW-Fe-wR9"/>
5854
</constraints>
@@ -71,7 +67,7 @@
7167
</label>
7268
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Nx8-mX-c8p">
7369
<rect key="frame" x="24" y="402" width="280" height="60"/>
74-
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
70+
<color key="backgroundColor" systemColor="secondarySystemBackgroundColor"/>
7571
<constraints>
7672
<constraint firstAttribute="height" constant="60" id="HPL-VY-lef"/>
7773
</constraints>
@@ -80,42 +76,34 @@
8076
<nil key="highlightedColor"/>
8177
</label>
8278
<datePicker contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="countDownTimer" countDownDuration="1" minuteInterval="1" useCurrentDate="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Rm1-1X-Lf6">
83-
<rect key="frame" x="0.0" y="189" width="320" height="130"/>
84-
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
85-
<date key="date" timeIntervalSinceReferenceDate="511502862.38258898">
86-
<!--2017-03-18 04:07:42 +0000-->
87-
</date>
79+
<rect key="frame" x="0.0" y="169" width="320" height="150"/>
8880
<connections>
8981
<action selector="studyRecordDurationPicker:" destination="BYZ-38-t0r" eventType="valueChanged" id="LQB-Ph-ypb"/>
9082
</connections>
9183
</datePicker>
92-
<button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ndc-bM-xYO">
84+
<button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ndc-bM-xYO">
9385
<rect key="frame" x="80" y="336" width="160" height="30"/>
94-
<color key="backgroundColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
95-
<color key="tintColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
96-
<state key="normal" title="Post StudyRecord">
97-
<color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
98-
</state>
86+
<state key="normal" title="Post StudyRecord"/>
9987
<connections>
10088
<action selector="postStudyRecordButton:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Bop-Ee-gGG"/>
10189
</connections>
10290
</button>
10391
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BA8-Px-LoU">
104-
<rect key="frame" x="135" y="105" width="50" height="40"/>
105-
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
92+
<rect key="frame" x="135" y="85" width="50" height="40"/>
93+
<color key="backgroundColor" systemColor="secondarySystemBackgroundColor"/>
10694
<fontDescription key="fontDescription" type="system" pointSize="17"/>
10795
<nil key="textColor"/>
10896
<nil key="highlightedColor"/>
10997
</label>
110-
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Jt9-Cn-IcI">
111-
<rect key="frame" x="190" y="62" width="50" height="25"/>
98+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Jt9-Cn-IcI">
99+
<rect key="frame" x="190" y="42" width="50" height="25"/>
112100
<state key="normal" title="Logout"/>
113101
<connections>
114102
<action selector="logoutButton:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Zq4-BR-seo"/>
115103
</connections>
116104
</button>
117105
</subviews>
118-
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
106+
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
119107
<constraints>
120108
<constraint firstItem="Rm1-1X-Lf6" firstAttribute="centerX" secondItem="Ndc-bM-xYO" secondAttribute="centerX" id="1ff-9j-RnY"/>
121109
<constraint firstItem="Rm1-1X-Lf6" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="4Nf-ec-pQu"/>
@@ -162,4 +150,12 @@
162150
<point key="canvasLocation" x="-84.375" y="37.5"/>
163151
</scene>
164152
</scenes>
153+
<resources>
154+
<systemColor name="secondarySystemBackgroundColor">
155+
<color red="0.94901960784313721" green="0.94901960784313721" blue="0.96862745098039216" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
156+
</systemColor>
157+
<systemColor name="systemBackgroundColor">
158+
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
159+
</systemColor>
160+
</resources>
165161
</document>

0 commit comments

Comments
 (0)