ruby.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
If you are interested in the Ruby programming language, come join us! Tell us about yourself when signing up. If you just want to join Mastodon, another server will be a better place for you.

Administered by:

Server stats:

1.1K
active users

#designengineering

0 posts0 participants0 posts today

So, @kevinpowell asked about CSS Layers.
I've been using them for a few projects now, and I'm totally sold on their utility. They help with structural blocks of styles and, not insignificantly, with organising styles.
My layer structures often look something like this.
- tokens
- base
- design
- theme
- interface (mapping to other CSS libraries)
- component.props
- component.styles
- component.modifiers