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