To run the example project, clone the repo, and run pod install
from the Example directory first.
Peloton-UIColors is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Peloton-UIColors"
To use Peloton-UIColors, include the following import:
import Peloton_UIColors
UIColor.pelotonSuperRed
UIColor.pelotonDarkBlue
UIColor.pelotonYellow
UIColor.pelotonDarkYellow
UIColor.pelotonMediumOrange
UIColor.pelotonBlueBlack
UIColor.pelotonSlateGray
UIColor.pelotonDarkSlateGray
UIColor.pelotonMediumGray
UIColor.pelotonMediumDarkGray
UIColor.pelotonLightGray
UIColor.pelotonLightBlueGray
UIColor.pelotonVeryLightGray
UIColor.pelotonBackgroundGray
UIColor.pelotonBlueWhite
UIColor.pelotonModalBackdropColor
UIColor.pelotonHeartRateZone1
UIColor.pelotonHeartRateZone2
UIColor.pelotonHeartRateZone3
UIColor.pelotonHeartRateZone4
UIColor.pelotonHeartRateZone5
if let context = UIGraphicsGetCurrentContext() {
UIColor.drawSpotlightGradient(context, frame: rect)
}
if let context = UIGraphicsGetCurrentContext() {
UIColor.drawLightGrayGradient(context, frame: rect)
}
All of the snapshots in the Example
test suite are recorded using an iPad Air 2 simulator.
- Carolyn Stewart, [email protected]
- Yu Ji, [email protected]
- Jasdev Singh, [email protected]
- Jason Brennan, [email protected]
Peloton-UIColors is available under the MIT license. See the LICENSE file for more info.