Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fresh/plugins/twindv1_deps.ts>matchTheme

The next-gen web framework.
Extremely Popular
Go to Latest
function matchTheme
import { matchTheme } from "https://deno.land/x/fresh@1.5.1/plugins/twindv1_deps.ts";

Type Parameters

optional
Theme extends BaseTheme = BaseTheme
optional
Section extends keyof Theme & string = keyof Theme & string

Parameters

pattern: MaybeArray<string | RegExp>
optional
section: "" | Section | KebabCase<Section>
optional
resolve: keyof CSSProperties | ThemeRuleResolver<ThemeValue<Theme[Section]>, Theme>
optional
convert: ThemeMatchConverter<ThemeValue<Theme[Section]>, Theme>