All utility classes specified in your configuration are accessible through the sv proxy. Please note that class name chaining on the proxy is not currently supported; therefore, if you need to apply multiple classes, a utility such as classnames or clsx will be beneficial.
Not using JSX, or don’t want to use the sv proxy? No problem, as stilvoll also supports referencing utility classes by their name directly.
Change the classname format
By default Stilvoll generates utility classnames using snake_case, as this allows them to be accessed without brackets and quotes from the sv proxy in JavaScript. However, if you’re not planning to use the sv proxy, this might not be the most convenient format. In your config file you can tweak the format of the generated CSS class names by setting the classNameFormat option.
With these settings the above example can now be written like this: