Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Plenty of CSS-in-JS libraries let you define design tokens somewhere and import them or access them on some theme object.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: