Y
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
KolmogorovComp
2 hours ago
Same, my need for tailwind got completely ridden when I started using Svelte, thanks to the CSS-scoping it entailed.
link
michaelchisari
2 hours ago
And @scope does this for all of css.
link