Skip to content

Commit 52a6140

Browse files
JoeJoeJoeJoe
JoeJoe
authored and
JoeJoe
committed
change background color
1 parent da71a43 commit 52a6140

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

Example/Example/Main.storyboard

+14-14
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
4343
<subviews>
4444
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lgb-bK-yyC">
45-
<rect key="frame" x="47" y="312.33333333333331" width="320" height="1"/>
45+
<rect key="frame" x="47" y="312.33333333333331" width="314.33333333333331" height="1"/>
4646
<color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
4747
<constraints>
4848
<constraint firstAttribute="width" secondItem="lgb-bK-yyC" secondAttribute="height" multiplier="320:1" id="Kwn-MF-kt7"/>
@@ -52,7 +52,7 @@
5252
<nil key="highlightedColor"/>
5353
</label>
5454
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jlm-PZ-53x">
55-
<rect key="frame" x="214" y="183" width="153" height="37"/>
55+
<rect key="frame" x="211.33333333333331" y="183" width="149.99999999999994" height="37"/>
5656
<color key="backgroundColor" red="0.098039215686274508" green="0.59999999999999998" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
5757
<state key="normal" title="Information">
5858
<color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
@@ -62,7 +62,7 @@
6262
</connections>
6363
</button>
6464
<button opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="249" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="E2W-fF-9mx">
65-
<rect key="frame" x="214" y="243.99999999999997" width="153" height="36.333333333333286"/>
65+
<rect key="frame" x="211.33333333333331" y="243.99999999999997" width="149.99999999999994" height="36.333333333333286"/>
6666
<color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
6767
<state key="normal" title="Error">
6868
<color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
@@ -72,7 +72,7 @@
7272
</connections>
7373
</button>
7474
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="GMx-FI-xVN">
75-
<rect key="frame" x="47" y="369.33333333333331" width="153" height="36.333333333333371"/>
75+
<rect key="frame" x="47" y="369.33333333333331" width="150.33333333333334" height="36.333333333333371"/>
7676
<color key="backgroundColor" red="0.098039215690000001" green="0.35294117650000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
7777
<state key="normal" title="Sucess">
7878
<color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
@@ -82,7 +82,7 @@
8282
</connections>
8383
</button>
8484
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="csm-cy-UB3">
85-
<rect key="frame" x="214" y="369.33333333333331" width="153" height="36.333333333333371"/>
85+
<rect key="frame" x="211.33333333333331" y="369.33333333333331" width="149.99999999999994" height="36.333333333333371"/>
8686
<color key="backgroundColor" red="0.098039215690000001" green="0.59999999999999998" blue="0.80000000000000004" alpha="1" colorSpace="calibratedRGB"/>
8787
<constraints>
8888
<constraint firstAttribute="height" constant="37" id="Onq-jN-GsJ"/>
@@ -95,7 +95,7 @@
9595
</connections>
9696
</button>
9797
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xD7-cj-RsY">
98-
<rect key="frame" x="47" y="424.66666666666674" width="153" height="36.333333333333314"/>
98+
<rect key="frame" x="47" y="424.66666666666674" width="150.33333333333334" height="36.333333333333314"/>
9999
<color key="backgroundColor" red="1" green="0.50196078430000002" blue="0.098039215690000001" alpha="1" colorSpace="calibratedRGB"/>
100100
<constraints>
101101
<constraint firstAttribute="width" secondItem="xD7-cj-RsY" secondAttribute="height" multiplier="153:37" id="OJg-eP-dyr"/>
@@ -108,7 +108,7 @@
108108
</connections>
109109
</button>
110110
<button opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="248" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="SS4-wL-oGe">
111-
<rect key="frame" x="47" y="243.99999999999997" width="153" height="36.333333333333286"/>
111+
<rect key="frame" x="47" y="243.99999999999997" width="150.33333333333334" height="36.333333333333286"/>
112112
<color key="backgroundColor" red="1" green="0.50196078431372548" blue="0.098039215686274508" alpha="1" colorSpace="calibratedRGB"/>
113113
<state key="normal" title="Warning">
114114
<color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
@@ -118,7 +118,7 @@
118118
</connections>
119119
</button>
120120
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Wpe-54-dj1">
121-
<rect key="frame" x="47" y="183" width="153" height="37"/>
121+
<rect key="frame" x="47" y="183" width="150.33333333333334" height="37"/>
122122
<color key="backgroundColor" red="0.098039215686274508" green="0.3529411764705882" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
123123
<constraints>
124124
<constraint firstAttribute="width" secondItem="Wpe-54-dj1" secondAttribute="height" multiplier="153:37" id="fKV-V5-Lyr"/>
@@ -149,7 +149,7 @@
149149
<nil key="highlightedColor"/>
150150
</label>
151151
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JT1-ji-m2d">
152-
<rect key="frame" x="214.00000000000003" y="424.66666666666669" width="152.66666666666671" height="37"/>
152+
<rect key="frame" x="211.33333333333337" y="424.66666666666674" width="149.66666666666663" height="36.333333333333314"/>
153153
<color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
154154
<constraints>
155155
<constraint firstAttribute="width" secondItem="JT1-ji-m2d" secondAttribute="height" multiplier="153:37" id="Jnr-Dy-nMg"/>
@@ -162,7 +162,7 @@
162162
</connections>
163163
</button>
164164
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Bci-ZG-CD3">
165-
<rect key="frame" x="47" y="483" width="319.66666666666669" height="37"/>
165+
<rect key="frame" x="47" y="483" width="314" height="36.333333333333371"/>
166166
<color key="backgroundColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
167167
<constraints>
168168
<constraint firstAttribute="width" secondItem="Bci-ZG-CD3" secondAttribute="height" multiplier="320:37" id="81A-Mi-oMJ"/>
@@ -175,7 +175,7 @@
175175
</connections>
176176
</button>
177177
</subviews>
178-
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
178+
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
179179
<constraints>
180180
<constraint firstItem="GMx-FI-xVN" firstAttribute="height" secondItem="xD7-cj-RsY" secondAttribute="height" id="3R3-sP-d5C"/>
181181
<constraint firstItem="Bci-ZG-CD3" firstAttribute="trailing" secondItem="JT1-ji-m2d" secondAttribute="trailing" id="4Bo-oZ-jTq"/>
@@ -272,7 +272,7 @@
272272
</connections>
273273
</button>
274274
<button opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="249" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3ZT-xD-4ny">
275-
<rect key="frame" x="214" y="184" width="153" height="36.666666666666657"/>
275+
<rect key="frame" x="214" y="184" width="153" height="37"/>
276276
<color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
277277
<constraints>
278278
<constraint firstAttribute="width" secondItem="3ZT-xD-4ny" secondAttribute="height" multiplier="153:37" id="Ezb-Ot-Tev"/>
@@ -285,7 +285,7 @@
285285
</connections>
286286
</button>
287287
<button opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="248" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZoC-1B-J6f">
288-
<rect key="frame" x="47" y="186" width="153" height="36.666666666666657"/>
288+
<rect key="frame" x="47" y="186" width="153" height="37"/>
289289
<color key="backgroundColor" red="1" green="0.50196078430000002" blue="0.098039215690000001" alpha="1" colorSpace="calibratedRGB"/>
290290
<constraints>
291291
<constraint firstAttribute="width" secondItem="ZoC-1B-J6f" secondAttribute="height" multiplier="153:37" id="fEU-vc-LAN"/>
@@ -311,7 +311,7 @@
311311
</connections>
312312
</button>
313313
</subviews>
314-
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
314+
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
315315
<constraints>
316316
<constraint firstItem="wFO-dz-8s1" firstAttribute="top" secondItem="4l4-SW-w7s" secondAttribute="bottom" constant="32" id="0SQ-mI-eSV"/>
317317
<constraint firstItem="3ZT-xD-4ny" firstAttribute="leading" secondItem="ZoC-1B-J6f" secondAttribute="trailing" constant="14" id="473-vr-foa"/>

Example/Example/demo.gif

-104 KB
Loading

0 commit comments

Comments
 (0)