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
stylis
pre-processor some other addons may not work with it.
Simply install stylis
addon. Read more about the Addon Installation.