CSS Modules, styled-components & co. solve scoping by abolishing the cascade — t...
Kore Nordmann @kore@chaos.social
CSS Modules, styled-components & co. solve scoping by abolishing the cascade — the one feature that makes a corporate design enforceable. That is re-inventing CSS rather than learning it.
And Tailwind? Inline styles with documentation, written in abbreviations. Another language to learn, for what plain CSS already does.
We style the document instead — and the hundredth button looks like the first: https://kore-nordmann.de/blog/style-the-document-not-a-component-tree.html