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>matchColor

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

Type Parameters

optional
Theme extends BaseTheme = BaseTheme
optional
Section extends keyof FilterByThemeValue<Theme, ColorValue> = keyof FilterByThemeValue<Theme, ColorValue>
optional
OpacitySection extends keyof FilterByThemeValue<Theme, string> = keyof FilterByThemeValue<Theme, string>

Parameters

pattern: MaybeArray<string | RegExp>
optional
options: ColorFromThemeOptions<Theme, Section, OpacitySection>
optional
resolve: ThemeRuleResolver<ColorFromThemeValue, Theme>