Skip to content

Instantly share code, notes, and snippets.

@rbresjer
Created January 26, 2017 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbresjer/0e6e5a80aa1490fe91ccb4d66552315e to your computer and use it in GitHub Desktop.
Save rbresjer/0e6e5a80aa1490fe91ccb4d66552315e to your computer and use it in GitHub Desktop.
UIColor extension with app color palette
extension UIColor {
static var appPrimary: UIColor {
return UIColor(hex: 0x9B26AF)
}
static var appPrimaryDark: UIColor {
return UIColor(hex: 0x7A1EA1)
}
static var appPrimaryDarkest: UIColor {
return UIColor(hex: 0x691A99)
}
static var appAccent: UIColor {
return UIColor(hex: 0x68EFAD)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment