import { UnoGenerator } from "https://dotland.deno.dev/x/aleph@1.0.0-beta.15/server/deps.ts";
Properties
events: Emitter<{ config: (config: ResolvedConfig) => void; }>
Methods
applyExtractors(): Promise<Set<string>>
code: string,
id?: string,
set?: Set<string>,
constructCustomCSS(): string
context: Readonly<RuleContext>,
body: CSSObject | CSSEntries,
overrideSelector?: string,
expandShortcut(): [ShortcutValue[], RuleMeta | undefined] | undefined
input: string,
context: RuleContext,
depth?: number,
generate(input: string | Set<string> | string[], options?: GenerateOptions): Promise<GenerateResult>
isBlocked(raw: string): boolean
makeContext(raw: string, applied: VariantMatchedResult): RuleContext<{ }>
matchVariants(raw: string, current?: string): VariantMatchedResult
parseToken(raw: string, alias?: string): Promise<StringifiedUtil[] | null | undefined>
parseUtil(): Promise<(ParsedUtil | RawUtil)[] | undefined>
input: string | VariantMatchedResult,
context: RuleContext,
internal?: boolean,
setConfig(userConfig?: UserConfig, defaults?: UserConfigDefaults): void
stringifyShortcuts(): Promise<StringifiedUtil[] | undefined>
parent: VariantMatchedResult,
context: RuleContext,
expanded: ShortcutValue[],
meta?: RuleMeta,
stringifyUtil(parsed?: ParsedUtil | RawUtil, context?: RuleContext): StringifiedUtil | undefined