PostCSS
Installation
-
Install
stilvoll
and@stilvoll/postcss
-
Include the plugin in your postcss config
-
Create a
stilvoll.config.js
file: -
Add the
@stilvoll
directive to your main CSS file. This will get replaced by the generated utility class in the build step. -
You can now use your utility classes directly, or by importing the
sv
object