News for hackers. Stuff that matters.
Re:Tailwind CSS v3.0 by dmitriid on Thursday December 09, 2021 @06:35PM (#29504622)
what do you think "high level" css-in-js libraries do if bot string concatenation, just watching your codebase with magic strings and generally ng raw CSS?
Re:Tailwind CSS v3.0 by tshaddox on Thursday December 09, 2021 @07:31PM (#29505032)
Plenty of CSS-in-JS libraries let you define design tokens somewhere and import them or access them on some theme object.
Re:Tailwind CSS v3.0 by dmitriid on Friday December 10, 2021 @03:38AM (#29507756)
This doesn't answer my question.

CSS-in-JS libraries are not magic that summons CSS out of thin air. They basically do the same thing Tailwind does: they watch your code for changes, they re-build/re-create raw CSS by, yes, often using string concatenation etc.