Skip to main content
Extremely Popular
Latest
interface TwindPresetConfig
import { type TwindPresetConfig } from "https://deno.land/x/fresh@1.6.8/plugins/twindv1_deps.ts";

Type Parameters

optional
Theme = BaseTheme

Properties

optional
darkMode: DarkModeConfig

Allows to change how the dark variant is used (default: "media")

optional
darkColor: DarkColor<Theme & BaseTheme>
optional
theme: ThemeConfig<Theme & BaseTheme>
optional
preflight: false | MaybeArray<Preflight | PreflightThunk<Theme & BaseTheme>>
optional
variants: Variant<Theme & BaseTheme>[]
optional
rules: Rule<Theme & BaseTheme>[]
optional
hash: boolean | undefined | HashFunction
optional
stringify: StringifyDeclaration<Theme & BaseTheme>
optional
ignorelist: MaybeArray<string | RegExp>
optional
finalize: MaybeArray<Finalize<Theme & BaseTheme>>