Master Styles – The First Virtual CSS Engine
styles.master.co
styles.master.co
Also the chats.html example just shows how unnecessarily repetitive it is.
Good landing pages tell you what it is and the value proposition within seconds and I couldn’t even figure out what this thing does on the first page.
This is really nutty, though, considering that so many of the projects where these sorts of things find adoption are exactly the ones that are wont to inject bloated frameworks and brittle tooling into the publishing pipeline, anyway.
Stop removing semantics from markup; keep attaching real class names to things. The class attribute is about more than providing a handle for style sheets to bind to with CSS selectors.
:root {
--prop: color;
--value: red;
var(--prop): var(--value)
}---
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.
I think cleaning up the hyperbolic marketing language would go a long way for me in terms of taking it seriously (the entire "Why" section does not actually communicate any real information).
This client-side production of styles on page load, however, is a step too far, since it's inevitably brittle to JS issues and FOUC.
I see no reason for such a thing and the website doesn't explain why either. If you go to the Why page they're only boasting about their syntax.
Maybe if your site is 100% static.
EDIT: Also, the landing page took like 10 seconds to load, which doesn't really make me think of "high performance".
Is this really an improvement?
Not sure about the claims re: speed:
https://github.com/master-co/styles/blob/main/src/text-rende...
What's the point? It looks exactly like: <div style="margin-top:10px; padding:15px">
In my opinion, using classes like that is unuseful. And it's not happening in this CSS library alone, it happens in a lot of them.
I might need a tl;dr on this whole thing. Anyone?