import { type RuleContext } from "https://deno.land/x/aleph@1.0.0-alpha.71/lib/@unocss/core.ts";
Properties
generator: UnoGenerator
UnoCSS generator instance
theme: Theme
The theme object
variantHandlers: VariantHandler[]
Matched variants handlers for this rule.
variantMatch: VariantMatchedResult
The result of variant matching.
constructCSS: (body: CSSEntries | CSSObject, overrideSelector?: string) => string
Constrcut a custom CSS rule. Variants and selector escaping will be handled automatically.
optional
rules: Rule[]Available only when details
option is enabled.
optional
shortcuts: Shortcut[]Available only when details
option is enabled.
optional
variants: Variant[]Available only when details
option is enabled.