Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Go to Latest
interface ThemeSectionResolverContext
import { type ThemeSectionResolverContext } from "https://deno.land/x/fresh@1.5.1/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>