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

Type Parameters

optional
Theme extends BaseTheme = BaseTheme

Properties

readonly
colors: Theme["colors"]
readonly
theme: ThemeFunction<Theme>
readonly
negative: (scale: Record<string, string>) => Record<string, string>

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

readonly
breakpoints: (screens: Record<string, MaybeArray<ScreenValue>>) => Record<string, string>