Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Classic question is what happens if you decide to change all gray text with the blue one? Do you end up having the class named text-gray that is setting text to blue, or you search & replace class names...


IMHO search & replace would be the way to go here. Otherwise no one will understand it later on.

But you could also define a color called text-primary, if you are concerned that something like this would happen.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: