Created
November 13, 2013 15:14
-
-
Save sturobson/7450697 to your computer and use it in GitHub Desktop.
naming convention opinion...
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
I'm front-end'ing a site for a client that has a 'favourite' or 'star-ing' functionality. | |
My question is, how to name whether the item has been starred or not. | |
Current logic in my CSS has things that are already .is-open, .is-closed, .is-active, .is-inactive, .is-visible and .is-hidden | |
I'm currently toying with | |
.is-favourited and .is-Notfavourited but that's pretty crap | |
Maybe .is-listed, .is-unlisted ? | |
Thoughts? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would avoid using favourite in the class title just because the word has spelling variations.