Interface: StyleConfig<Variants, BaseVariants>

twind/style.StyleConfig

Type parameters

NameDefault
Variants-
BaseVariants{}

Properties

base

Optional base: string | CSSRules | Directive<CSSRules>

Defined in: src/style/index.ts:66


defaults

Optional defaults: DefaultVariants<Variants & BaseVariants>

Defined in: src/style/index.ts:69


matches

Optional matches: VariantMatchers<Variants & BaseVariants> & { use: StyleToken }[]

Defined in: src/style/index.ts:70


variants

Optional variants: Variants & { [variant in string | number | symbol]?: { [key in string | number | symbol]?: string | CSSRules | Directive<CSSRules>}​}

Defined in: src/style/index.ts:67