Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface TwindPresetConfig
import { type TwindPresetConfig } from "https://deno.land/x/fresh@1.5.4/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>>