Created
September 25, 2017 19:19
-
-
Save shortcircuit3/e7cd48b6fc1131880976cf9be69de454 to your computer and use it in GitHub Desktop.
How to name colors in a pattern library
This file contains hidden or 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
// Bad | |
whitePaleColor() | |
whiteEightColor() | |
buttonBorderColor() | |
coolGrayColor() | |
greyishBrown2Color() | |
slateGrayColor() | |
paleGrayColor() | |
paleGrey2Color() | |
whiteAlmostOpaque() | |
// Good | |
white100 | |
white50 | |
white20 | |
blue100 | |
blue50 | |
blue20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment