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

ThemeSectionResolverContext

interface ThemeSectionResolverContext <Theme extends BaseTheme = BaseTheme> {
readonly breakpoints: (screens: Record<string, MaybeArray<ScreenValue>>) => Record<string, string>;
readonly colors: Theme["colors"];
readonly negative: (scale: Record<string, string>) => Record<string, string>;
readonly theme: ThemeFunction<Theme>;
}

§Type Parameters

§
Theme extends BaseTheme = BaseTheme
[src]

§Properties

§
readonly breakpoints: (screens: Record<string, MaybeArray<ScreenValue>>) => Record<string, string>
[src]
§
readonly colors: Theme["colors"]
[src]
§
readonly negative: (scale: Record<string, string>) => Record<string, string>
[src]

No-op function as negated values are automatically infered and do not need to be in the theme.

§
readonly theme: ThemeFunction<Theme>
[src]