import { type ColorFromThemeOptions } from "https://deno.land/x/fresh@1.6.1/plugins/twindv1_deps.ts";
Type Parameters
optional
Section extends keyof FilterByThemeValue<Theme, ColorValue> = keyof FilterByThemeValue<Theme, ColorValue>optional
OpacitySection extends keyof FilterByThemeValue<Theme, string> = keyof FilterByThemeValue<Theme, string>Properties
Theme section to use (default: $0.replace('-', 'Color')
— The matched string with Color
appended)
optional
property: keyof CSSPropertiesThe css property (default: value of section)
optional
opacitySection: OpacitySectionsection.replace('Color', 'Opacity')
-> 'textOpacity'