Custom properties are great until you need to access them from JavaScript and realize it’s impossible and are sent back to the drawing board.
After building countless design systems with CSS/SCSS/Tailwind/Svelte/SASS/PostCSS/etc, I’m convinced that CSS as a separated language in separate files needs to die.
I’m building an experimental design system in pure Typescript and I feel like I’m finally able to free my UI from the Stone Age.
I’m sure I’ll be back to the drawing board again soon enough.