Hacker News new | ask | show | jobs
by crab_galaxy 125 days ago
Tailwind trades cascade complexity for design drift when working across teams. You can’t ignore that it encourages a different kind of undisciplined sloppiness.

Would I take it over the 1000 line cascade problems? Probably, but I’d still prefer css modules over tailwind.

2 comments

What kind of design drift do you mean? You set `--color-surface` in your theme once, then all surfaces in the app use the same color with `bg-surface`, regardless of the theme authoring parts of it. I don't know how you could enforce more consistency to CSS authors than Tailwind does.
What do you mean it trades cascade complexity? The cascade complexity in CSS itself, tailwind can't turn that off, you always have that.