Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ConfigBase

interface ConfigBase <Theme extends {} = {}> {
autocomplete?: {};
blocklist?: BlocklistRule[];
details?: boolean;
extendTheme?: Arrayable<ThemeExtender<Theme>>;
extractors?: Extractor[];
layers?: Record<string, number>;
postprocess?: Arrayable<Postprocessor>;
preflights?: Preflight<Theme>[];
preprocess?: Arrayable<Preprocessor>;
rules?: Rule<Theme>[];
safelist?: string[];
shortcuts?: UserShortcuts<Theme>;
sortLayers?: (layers: string[]) => string[];
theme?: Theme;
variants?: Variant<Theme>[];
}

§Type Parameters

§
Theme extends {} = {}
[src]

§Properties

§

Additional options for auto complete

§
blocklist?: BlocklistRule[]
[src]

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.

§
details?: boolean
[src]

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.

§
extendTheme?: Arrayable<ThemeExtender<Theme>>
[src]

Custom functions to extend the theme object

§
extractors?: Extractor[]
[src]

Extractors to handle the source file and outputs possible classes/selectors Can be language-aware.

§
layers?: Record<string, number>
[src]

Layer orders. Default to 0.

§

Postprocess the generate utils object

§
preflights?: Preflight<Theme>[]
[src]

Raw CSS injections.

§

Preprocess the incoming utilities, return falsy value to exclude

§
rules?: Rule<Theme>[]
[src]

Rules to generate CSS utilities

§
safelist?: string[]
[src]

Utilities that always been included

§
shortcuts?: UserShortcuts<Theme>
[src]

Similar to Windi CSS's shortcuts, allows you have create new utilities by combining existing ones.

§
sortLayers?: (layers: string[]) => string[]
[src]

Custom function to sort layers.

§
theme?: Theme
[src]

Theme object for shared configuration between rules

§
variants?: Variant<Theme>[]
[src]

Variants that preprocess the selectors, having the ability to rewrite the CSS object.