I have a problem with the way most people think about themes.
There is almost an obsession with semantic class names. It’s as if button-primary and button-secondary are better than button-red or button-neutral.
- The first one describes the use case.
- The second one describes the visuals.
In almost all of the sites that I designed, I prefer using class names that describe visuals over class names that describe the use case. (Visual class names are semantic too).
That’s because six months down the road, it’s much easier to recall what’s happening when looking at visual-based classes.
I wrote a lot more about this topic in Thinking Deeply about Theming. Read that article. I’ve said everything you need to know over there.
Welcome! Unfortunately, you don’t have access to this lesson. To get access, please purchase the course or enroll in Magical Dev School.
Unlock this lesson