Full CSS support for JSX without compromises
MIT License
Bot releases are hidden (Show)
Plugins are regular JavaScript modules that export a simple function with the following signature:
(css: string, options: Object) => string
They accept a CSS string in input, optionally modify it and finally return it.
Plugins make it possible to use popular preprocessors like SASS, Less, Stylus, PostCSS or apply custom transformations to the styles at compile time.
Details and usage can be found in the CSS Preprocessing via Plugins section of README.md
stylis-rule-sheet
to split CSS rules into array of rules for optimizeForSpeed
#313. This also fixes #305 - huge thank you to @thysultan for his help!We are excited to release the v2 🎉
optimizeForSpeed
mode for fast styles injection when in productioncss
Details at #288 and the README.
We are excited to release the first beta of v2 🎉
optimizeForSpeed
mode for fast styles injection when in productioncss
Details at #288 and the README.
The following patch applies to previous 2.x versions as well.
module.exports
in external styles (#267)Huge thanks to @eliot-akira for discovering the issue and debugging #267 and @thysultan for the great work on Stylis!
Published by giuseppeg over 7 years ago
Thanks to @thysultan for the Stylis patches!
calc
is ignored (#223)Huge thanks to @thysultan for fixing the relevant bugs in Stylis and @soulchainer, @Larry850806 and @jaydenseric for the bug reports!