News for hackers. Stuff that matters.
Re:Tailwind Is a Leaky Abstraction by antihero on Wednesday November 30, 2022 @12:48PM (#33804515)
How much effort does it take to set up, though? I thought the CSS variable system was pretty rudimentary.
Re:Tailwind Is a Leaky Abstraction by emmacharp on Wednesday November 30, 2022 @02:09PM (#33805945)
> How much effort does it take to set up, though?

Practically none. And any designer is prone to reuse the same spacings from project to project. So you bring the language file with you. Something like this :

:root { --spacing-sm: 1rem; --spacing-md: 2rem; --size-tall: 32px; ... }

And you can do some pretty nice things with these pure CSS tokens. Without any hassle or dependency.

Re:Tailwind Is a Leaky Abstraction by antihero on Saturday December 03, 2022 @01:30PM (#33845950)
This seems more annoying than using tailwind.