-
Notifications
You must be signed in to change notification settings - Fork 7
Description
When I first saw what your framework was capable of, this is what I immediately thought of: that I could use it to very efficiently write traditional CSS β like the examples on your Extracting Components and Helper Mixins pages:
.parent {
@include apply('p-40 shadow-2xs radius-2xl');
&__child {
@include apply('hover.opacity-50 p-24 md.p-64');
}
}That is remarkably concise. And maintainable. Combine it with your headless mode, and β holy cow.
That's something special.
(Maybe Tailwind can be used that way, but if it can, I missed it. Well β I know it can almost be used that way. I just don't remember seeing examples as terse and complex as yours.)
As an extra bonus, I even discovered that I could still "include" reset and standard with headless output, e.g.:
@use "uniform" as * with (
$config: (
output: headless,
includes: (
reset,
standard
),
),
);So with UniformCSS I can be far more productive; I can produce only the CSS I want; and all I need is a SASS compiler.
π€―
At the moment you document this, but in pieces; I think headless is only mentioned on the build settings page, and apply on the two pages I gave above.
I think you should consider pulling the all of those pieces together in one spot, to tell this story. Because this feels like something I haven't really seen before.
I should say: I'm mostly a mobile developer rather than a web developer. But when I do web development I tend to start with a CSS framework. No matter how good the framework is, I always end up having to eventually work around hard-coded assumptions. It seems like your framework β library? β might give me another option.
It's almost like a CSS framework construction kit.