Designer News
Where the design community meets.
over 7 years ago from Adam Silver, Interaction designer focused on inclusive design and design systems
I've started using pure utility classes a lot recently (with responsive suffixes eg @m
) and find this a really nice way to express simple bits of layout, type and whitespace.
I don't understand this at all:
If you have utility non-semantic classes that describe the look then when you edit one of these classes, they will propogate to every single element with that class
That's the whole point of utility classes, they follow the single responsibility principle and you would be incredibly unlikely to edit them.
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
I agree this is overly dogmatic, I think there's a happy medium here (in my experience at least) where you have objects as well as utility classes for common, repeatable styles e.g. something like Harry Roberts' ITCSS.