News for hackers. Stuff that matters.
Re:Tailwind CSS v3.3 by megaman821 on Wednesday March 29, 2023 @09:29AM (#35357002)
The spec authors should be looking at the popularity of Tailwind and be thinking of how to enhance the style attribute. Then Tailwind really could mostly be a bunch of CSS variables and inline styles.
Re:Tailwind CSS v3.3 by nfw2 on Wednesday March 29, 2023 @11:46AM (#35358936)
I've been working on a library that is basically what you're describing: https://github.com/nealfwilliams/style-kit-n

Feedback welcome

Re:Tailwind CSS v3.3 by err4nt on Wednesday March 29, 2023 @03:08PM (#35361775)
Tailwind depends on @apply in PostCSS to function, something that was never officially proposed for CSS, but has been killed by its author and we know for sure CSS won't do, for the reasons the author of the original @apply idea lists here: https://www.xanthir.com/b4o00

So we have known all along that this will never happen. It was rejected for some very good reasons before Tailwind began.