Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aleph/lib/@unocss/core.ts>VariantFunction

The Full-stack Framework in Deno.
Go to Latest
type alias VariantFunction
import { type VariantFunction } from "https://deno.land/x/aleph@1.0.0-alpha.63/lib/@unocss/core.ts";

Type Parameters

optional
Theme extends { } = { }
definition: (matcher: string, context: Readonly<VariantContext<Theme>>) => string | VariantHandler | undefined