ConfigBase
§Properties
Additional options for auto complete
Rules to exclude the selectors for your design system (to narrow down the possibilities).
Combining warnExcluded
options it can also help you identify wrong usages.
Hook to modify the resolved config.
First presets runs first and the user config
Expose internal details for debugging / inspecting
Added rules
, shortcuts
, variants
to the context and expose the context object in StringifiedUtil
You don't usually need to set this.
Custom functions mutate the theme object.
It's also possible to return a new theme object to completely replace the original one.
Default extractor that are always applied. By default it split the source code by whitespace and quotes.
It maybe be replaced by preset or user config, only one default extractor can be presented, later one will override the previous one.
Pass null
or false
to disable the default extractor.
Postprocess the generate utils object
Preprocess the incoming utilities, return falsy value to exclude
Similar to Windi CSS's shortcuts, allows you have create new utilities by combining existing ones.
Later entries have higher priority.