Last active
April 13, 2020 05:34
-
-
Save vinczebalazs/158552f1775ed9373d2e0ef4de0a7a2f to your computer and use it in GitHub Desktop.
UIColor+NamedColors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension UIColor { | |
static var accent: UIColor { | |
UIColor(named: "Accent")! | |
} | |
static var primary: UIColor { | |
UIColor(named: "Primary")! | |
} | |
static var primaryText: UIColor { | |
UIColor(named: "PrimaryText")! | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment