UIColor extension to provide the colors specified in the Apple Watch Design Guides at https://developer.apple.com/watch/human-interface-guidelines/resources/
Swift Ruby Objective-C
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
WatchKitColors.xcodeproj
WatchKitColors.xcworkspace
WatchKitColors
WatchKitColorsExample
.gitignore
.swift-version
LICENSE
README.md
UIColor+WatchKitColors Sample.png
WatchKitColors.podspec

README.md

UIColor-WatchKitColors

CocoaPods Compatible Carthage compatible

UIColor extension to provide the colors specified in the Apple Watch Design Guides at https://developer.apple.com/watch/human-interface-guidelines/resources/

Sample Image

Usage

Swift

platterBodyGroup.setBackgroundColor(.watchKitPlatterColor)
bodyLabel.setTextColor(.watchKitBodyTextColor)
footnoteLabel.setTextColor(.watchKitFootnoteTextColor)
smallGroup1.setBackgroundColor(.watchKitSmallPlatterColor)
smallGroup2.setBackgroundColor(.watchKitSmallPlatterColor)

Objective-C

[_platterBodyGroup setBackgroundColor:[UIColor watchKitPlatterColor]];
[_bodyLabel setTextColor:[UIColor watchKitBodyTextColor]];
[_footnoteLabel setTextColor:[UIColor watchKitFootnoteTextColor]];