News for hackers. Stuff that matters.
Re:Master Styles – The First Virtual CSS Engine by lf-non on Thursday March 24, 2022 @04:59PM (#30795265)
I am a bit skeptic about the no css bundle advantage. What about all the bloat that is now getting added in the html ?

---

I spend 10-20% of my time writing css. I have tried pretty most of the popular css-in-js and atomic/utility css libraries but always keep going back to typestyle [1].

It may not be as succinct or as prescriptive as other solutions, but being able to write/parameterize/compose all styles in pure typescript is a big enough reduction in cognitive overhead for me to offset other advantages that these solutions offer.

[1] https://typestyle.github.io

There are no comments on this comment yet.