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_UIColorsUIColor.pelotonSuperRedUIColor.pelotonDarkBlueUIColor.pelotonYellowUIColor.pelotonDarkYellowUIColor.pelotonMediumOrangeUIColor.pelotonBlueBlackUIColor.pelotonSlateGrayUIColor.pelotonDarkSlateGrayUIColor.pelotonMediumGrayUIColor.pelotonMediumDarkGrayUIColor.pelotonLightGrayUIColor.pelotonLightBlueGrayUIColor.pelotonVeryLightGrayUIColor.pelotonBackgroundGrayUIColor.pelotonBlueWhiteUIColor.pelotonModalBackdropColorUIColor.pelotonHeartRateZone1UIColor.pelotonHeartRateZone2UIColor.pelotonHeartRateZone3UIColor.pelotonHeartRateZone4UIColor.pelotonHeartRateZone5if 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.






















