@formkit/themes
Version:
FormKit base themes
21 lines (19 loc) • 497 B
text/typescript
/**
* Minimal type definitions for UnoCSS compatibility.
* These match the UnoCSS API without requiring unocss as a dependency.
*/
interface VariantMatchResult {
matcher: string;
selector?: (input: string) => string;
}
type Variant = (matcher: string) => string | VariantMatchResult;
interface Preset {
name: string;
variants?: Variant[];
}
/**
* The FormKit plugin for UnoCSS
* @public
*/
declare const FormKitVariants: () => Preset;
export { FormKitVariants as default };