News for hackers. Stuff that matters.
Re:Why Tailwind CSS Won by martyfmelb on Wednesday August 16, 2023 @08:00AM (#37145720)
I think Tailwind could be made good for usage at enterprise scale, for example, as a customisable foundation for a branded design system.

If for example Figma offered first-class support for Tailwind-like utility classes in the form of a modernised "styles" or "composite tokens" feature, then mapping from a design system to Tailwind-based code could be pretty simple.

But right now, it's anything but. In my experience, designers simply aren't aware of the Tailwind structure, and it's hell trying to map their mental model onto Tailwind. Figma is built to design things that map easily to CSS at the attribute level, not the class level.

Re:Why Tailwind CSS Won by epolanski on Wednesday August 16, 2023 @08:39AM (#37146159)
How's any of that unique to Tailwind?
Re:Why Tailwind CSS Won by ethanbond on Wednesday August 16, 2023 @10:23AM (#37147499)
"Burgers are delicious and greasy and salty"

"How is any of that unique to burgers? You should be eating tacos which are also delicious and greasy and salty."

Ummm okay...?

Elsewhere in the thread you're basically advocating for copy/pasting parts of Tailwind to get the benefits you care about in the moment, then I suppose copy/paste more of it when you run into another case it'd be useful for. One easy way to save time with that strategy is just to copy/paste all of Tailwind. Then if you're doing that, an easy way to save time is just run `yarn add tailwindcss`.