import { type ConfigBase } from "https://deno.land/x/netzo@0.4.72/deps/@unocss/core.ts";
Properties
Rules to generate CSS utilities.
Later entries have higher priority.
Variants that preprocess the selectors, having the ability to rewrite the CSS object.
Similar to Windi CSS's shortcuts, allows you have create new utilities by combining existing ones.
Later entries have higher priority.
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.
Extractors to handle the source file and outputs possible classes/selectors Can be language-aware.
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.
Raw CSS injections.
Theme object for shared configuration between rules
Preprocess the incoming utilities, return falsy value to exclude
Custom functions mutate the theme object.
It's also possible to return a new theme object to completely replace the original one.
Additional options for auto complete
Hook to modify the resolved config.
First presets runs first and the user config