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

StyleConfig

interface StyleConfig <Variants, BaseVariants = {}> {
base?: StyleToken;
defaults?: DefaultVariants<Variants & BaseVariants>;
label?: string;
props?: Variants & [variant in keyof BaseVariants]?: [key in keyof BaseVariants[variant]]?: StyleToken;
when?: [When<Variants & BaseVariants>, StyleToken][];
}

§Type Parameters

§
Variants
[src]
§
BaseVariants = {}
[src]

§Properties

§
defaults?: DefaultVariants<Variants & BaseVariants>
[src]
§
label?: string
[src]

Used as prefix

§
props?: Variants & [variant in keyof BaseVariants]?: [key in keyof BaseVariants[variant]]?: StyleToken
[src]
§
when?: [When<Variants & BaseVariants>, StyleToken][]
[src]