stylis Addon
March 19, 2018 ยท View on GitHub
Adds stylis pre-processor. This allows you
to write CSS as a string using stylis syntax everywhere where CSS-like object is expected.
const className = nano.rule(`
color: red;
&:hover {
color: blue
}
`);
Nota Bene
If you use
stylispre-processor some other addons may not work with it.
Installation
Simply install stylis addon. Read more about the Addon Installation.