import { type TwindUserConfig } from "https://dotland.deno.dev/x/fresh@1.7.3/plugins/twindv1_deps.ts";
Properties
optional
presets: Presetsoptional
darkColor: DarkColor<BaseTheme & ExtractThemes<Theme, Presets>>optional
theme: Theme | ThemeConfig<BaseTheme & ExtractThemes<Theme, Presets>>optional
preflight: false | MaybeArray<Preflight | PreflightThunk<BaseTheme & ExtractThemes<Theme, Presets>>>optional
variants: Variant<BaseTheme & ExtractThemes<Theme, Presets>>[]optional
rules: Rule<BaseTheme & ExtractThemes<Theme, Presets>>[]optional
hash: boolean | undefined | HashFunctionEnables hashing of all classes (default: false
).
If a function is given it can be used to hash only certain classes:
{
hash(className, defaultHash) {
if (/^[~@]\(/.test(className)) {
// a shortcut like `~(...)` or apply like `@(...)`
return defaultHash(className)
}
return className
}
}
optional
stringify: StringifyDeclaration<BaseTheme & ExtractThemes<Theme, Presets>>optional
ignorelist: MaybeArray<string | RegExp>optional
finalize: MaybeArray<Finalize<Theme & BaseTheme>>