Hacker News new | ask | show | jobs
by Gigachad 2 hours ago
I feel like scoped css and component libraries fixed this issue. I don’t have a .button, I just have a <Button> that has all its css self contained.

And just a shared color definition file.

1 comments

Same, my need for tailwind got completely ridden when I started using Svelte, thanks to the CSS-scoping it entailed.
And @scope does this for all of css.