Commit 56bb1d96 authored by Ben Jackson's avatar Ben Jackson
Browse files

Dark Mode: use symbolic name for label text

parent 8f47f698
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="10117" systemVersion="15G31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15400" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina6_1" orientation="landscape" appearance="dark"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15404"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
......@@ -12,11 +13,11 @@
<rect key="frame" x="0.0" y="0.0" width="502" height="62"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="2KR-vR-VvL" id="7oz-F0-yh3">
<rect key="frame" x="0.0" y="0.0" width="502" height="61"/>
<rect key="frame" x="44" y="0.0" width="458" height="62"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="bgl-6t-zMs">
<rect key="frame" x="8" y="11" width="40" height="40"/>
<rect key="frame" x="20" y="11" width="40" height="40"/>
<constraints>
<constraint firstAttribute="width" secondItem="bgl-6t-zMs" secondAttribute="height" multiplier="1:1" id="6Rq-Wg-lrQ"/>
<constraint firstAttribute="height" constant="40" id="e3Y-rN-ZHr"/>
......@@ -29,13 +30,13 @@
</userDefinedRuntimeAttributes>
</imageView>
<label userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="1000" text="99+" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fd4-ak-1rq" customClass="BadgeLabel" customModule="Gitter" customModuleProvider="target">
<rect key="frame" x="473" y="21" width="21" height="20"/>
<rect key="frame" x="461" y="21" width="21" height="20"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" secondItem="fd4-ak-1rq" secondAttribute="height" multiplier="1:1" id="BNQ-GU-yAS"/>
<constraint firstAttribute="height" constant="20" id="dHb-Kw-Acu"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="10"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
......@@ -45,35 +46,34 @@
</userDefinedRuntimeAttributes>
</label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="top" translatesAutoresizingMaskIntoConstraints="NO" id="ypk-Uz-88r">
<rect key="frame" x="56" y="12" width="409" height="37"/>
<rect key="frame" x="68" y="13" width="385" height="36.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="gJB-i6-lRo">
<rect key="frame" x="0.0" y="0.0" width="155" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="154" height="19.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Main Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gKd-zR-hs0">
<rect key="frame" x="0.0" y="0.0" width="79" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="78.5" height="19.5"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Side Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Hb8-Oz-cKW">
<rect key="frame" x="87" y="0.0" width="68" height="20"/>
<rect key="frame" x="86.5" y="0.0" width="67.5" height="19.5"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
<color key="textColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Bottom Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eR4-UW-2SY">
<rect key="frame" x="0.0" y="20" width="86" height="17"/>
<rect key="frame" x="0.0" y="19.5" width="86" height="17"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
<color key="textColor" red="0.3333333432674408" green="0.3333333432674408" blue="0.3333333432674408" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
<color key="tintColor" red="0.92941176469999998" green="0.098039215690000001" blue="0.39607843139999999" alpha="1" colorSpace="calibratedRGB"/>
<color key="tintColor" red="0.92941176469999998" green="0.098039215690000001" blue="0.39607843139999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="fd4-ak-1rq" firstAttribute="centerY" secondItem="7oz-F0-yh3" secondAttribute="centerY" id="2JO-Lu-Dq5"/>
<constraint firstAttribute="trailingMargin" secondItem="fd4-ak-1rq" secondAttribute="trailing" id="6Rl-XO-HOi"/>
......@@ -84,7 +84,7 @@
<constraint firstItem="ypk-Uz-88r" firstAttribute="centerY" secondItem="7oz-F0-yh3" secondAttribute="centerY" id="gNL-eu-3uq"/>
</constraints>
</tableViewCellContentView>
<color key="tintColor" red="0.92941176469999998" green="0.098039215690000001" blue="0.39607843139999999" alpha="1" colorSpace="calibratedRGB"/>
<color key="tintColor" red="0.92941176469999998" green="0.098039215690000001" blue="0.39607843139999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<inset key="separatorInset" minX="56" minY="0.0" maxX="0.0" maxY="0.0"/>
<connections>
<outlet property="avatar" destination="bgl-6t-zMs" id="9sM-7G-t4M"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment