mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-22 19:28:54 +10:00
Update font and text color
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7702" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="Ha4-ol-D2e">
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7706" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="Ha4-ol-D2e">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
|
||||
<capability name="Alignment constraints with different attributes" minToolsVersion="5.1"/>
|
||||
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
|
||||
</dependencies>
|
||||
@@ -89,7 +89,7 @@
|
||||
<userDefinedRuntimeAttribute type="string" keyPath="title" value="Choose photo"/>
|
||||
</userDefinedRuntimeAttributes>
|
||||
</button>
|
||||
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HcA-7v-16m" userLabel="Take Photo Button" customClass="MessageTypeButton" customModule="Yep" customModuleProvider="target">
|
||||
<button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HcA-7v-16m" userLabel="Take Photo Button" customClass="MessageTypeButton" customModule="Yep" customModuleProvider="target">
|
||||
<rect key="frame" x="213" y="20" width="174" height="260"/>
|
||||
<state key="normal">
|
||||
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
|
||||
|
||||
@@ -82,7 +82,7 @@ class YepConfig {
|
||||
struct Profile {
|
||||
static let leftEdgeInset: CGFloat = UIDevice.matchMarginFrom(20, 38, 40)
|
||||
static let rightEdgeInset: CGFloat = leftEdgeInset
|
||||
static let introductionLabelFont = UIFont(name: "HelveticaNeue-Thin", size: 12)!
|
||||
static let introductionLabelFont = UIFont(name: "Helvetica-Light", size: 14)!
|
||||
}
|
||||
|
||||
struct Settings {
|
||||
|
||||
@@ -52,5 +52,9 @@ extension UIColor {
|
||||
class func yepDisabledColor() -> UIColor {
|
||||
return UIColor(red:0.95, green:0.95, blue:0.95, alpha:1)
|
||||
}
|
||||
|
||||
class func yepGrayColor() -> UIColor {
|
||||
return UIColor(red: 142.0/255.0, green: 142.0/255.0, blue: 147.0/255.0, alpha: 1.0)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -14,19 +14,19 @@ extension UIFont {
|
||||
}
|
||||
|
||||
class func skillTextFont() -> UIFont {
|
||||
return UIFont(name: "HelveticaNeue-Light", size: 14)!
|
||||
return UIFont(name: "Helvetica-Light", size: 14)!
|
||||
}
|
||||
|
||||
class func skillTextLargeFont() -> UIFont {
|
||||
return UIFont(name: "HelveticaNeue-Light", size: 20)!
|
||||
return UIFont(name: "Helvetica-Light", size: 20)!
|
||||
}
|
||||
|
||||
class func skillHomeTextLargeFont() -> UIFont {
|
||||
return UIFont(name: "HelveticaNeue-Light", size: 18)!
|
||||
return UIFont(name: "Helvetica-Light", size: 18)!
|
||||
}
|
||||
|
||||
class func skillHomeButtonFont() -> UIFont {
|
||||
return UIFont(name: "HelveticaNeue-Light", size: 16)!
|
||||
return UIFont(name: "Helvetica-Light", size: 16)!
|
||||
}
|
||||
|
||||
class func navigationBarTitleFont() -> UIFont {
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>16</string>
|
||||
<string>18</string>
|
||||
<key>Fabric</key>
|
||||
<dict>
|
||||
<key>APIKey</key>
|
||||
|
||||
@@ -22,6 +22,7 @@ class ProfileFooterCell: UICollectionViewCell {
|
||||
instroductionLabelRightConstraint.constant = YepConfig.Profile.rightEdgeInset
|
||||
|
||||
introductionLabel.font = YepConfig.Profile.introductionLabelFont
|
||||
introductionLabel.textColor = UIColor.yepGrayColor()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7702" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14D136" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7701"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
|
||||
|
||||
Reference in New Issue
Block a user