News for hackers. Stuff that matters.
Re:Tailwind Is the Worst of All Worlds by chuckadams on Tuesday July 22, 2025 @12:30PM (#44649474)
Some judicious use of @apply would go a long way. But for some reason a few years ago they were actively deprecating its use, favoring the above insanity instead. Now @apply seems to be back in good graces, but I guess not everyone got the updated memo.
Re:Tailwind Is the Worst of All Worlds by cheald on Tuesday July 22, 2025 @12:38PM (#44649616)
@apply in CSS modules to compose the above sort of thing into something more semantic and readable without creating a bunch of global artifacts is definitely the way to go, IMO.