News for hackers. Stuff that matters.
Re:Don't use Tailwind for your Design System by sodapopcan on Wednesday January 11, 2023 @09:53AM (#34339061)
This is the same repeated criticism that gets repeated over and over and over again about Tailwind. It's misguided and getting a bit tiresome.
Re:Don't use Tailwind for your Design System by manxman on Wednesday January 11, 2023 @10:13AM (#34339295)
I agree it has a place for rapidly prototyping a design. But it pukes in the face of the “DRY” principle and wouldn’t keep it around in production. Use it to get the look right, take the styles and abstract to a sensible place in the design system or component hierarchy passing in the values so you can change one thing not a load.

Just following the idea that making life easier for yourself six months from now when you don’t have the current project “context” in your head is way better for lowering technical debt.

Oh and we will probably be into another fashionable styling framework by then! ;-P

Re:Don't use Tailwind for your Design System by sodapopcan on Wednesday January 11, 2023 @10:31AM (#34339525)
It's been explained in many blog posts as well as in the Tailwind documentation itself. It's meant to be used with components (or partials). There's no copy-pasting involved and is very well-suited for production code.

And this applies to any utility-based CSS framework.