v0.6.1
This version adds integrated support for configuration via duomo-configuration-proposal. Duomo CSS can now be configured at the import statement, using @use
in Dart Sass. This enables Duomo to respond to user preferences, such as overriding a color or breakpoint, etc.
Example usage:
@use "duomo" as * with (
$xl: 1344,
);
In this minimal example, $xl
can be overridden as 1344
so that all xl
breakpoints resolve to 1344px
. And $xl
was already defined as a variable, $xl
now refers to 1344
. Furthermore, Duomo provides several getter functions such as color
, shadow
, and breakpoint
to semantically access key-values, such as color(green-500)
or breakpoint(sm)
.
This changes make it easier to author Sass because Duomo is Sass.