Skip to main content
Module

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

The Full-stack Framework in Deno.
Very Popular
Go to Latest
interface VariantHandlerContext
import { type VariantHandlerContext } from "https://deno.land/x/aleph@1.0.0-beta.1/lib/@unocss/core.ts";

Properties

prefix: string

Rewrite the output selector. Often be used to append parents.

selector: string

Rewrite the output selector. Often be used to append pesudo classes.

pseudo: string

Rewrite the output selector. Often be used to append pesudo elements.

entries: CSSEntries

Rewrite the output css body. The input come in [key,value][] pairs.

optional
parent: string

Provide a parent selector(e.g. media query) to the output css.

optional
parentOrder: number

Provide order to the parent parent selector within layer.

optional
layer: string

Override layer to the output css.

optional
sort: number

Order in which the variant is sorted within single rule.