Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.4.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>