@theme-registry/refract-scss
v0.1.18
Published
The SCSS output adapter for @theme-registry/refract — lowers a ThemeModel to SCSS variables + mixins.
Readme
@theme-registry/refract-scss
Experimental. Reachable via the npm
experimentaldist-tag; the output shape may still change.
The SCSS adapter for refract — emits Sass
$variables + classes.
Docs, live playground & API: https://theme-registry.github.io/refract/
npm install @theme-registry/refract @theme-registry/refract-scssimport { createTheme } from "@theme-registry/refract";
import { createScssAdapter } from "@theme-registry/refract-scss";
const theme = createTheme(raw, { adapter: createScssAdapter() });
theme.scss; // $variables + classesOptions: inline, indent, prefix, cascade @layer. Peer-depends on @theme-registry/refract.
See the SCSS adapter docs.
MIT © Petyo Stoyanov
