Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/@unocss/core.ts>VariantHandlerContext

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface VariantHandlerContext
import { type VariantHandlerContext } from "https://deno.land/x/netzo@0.4.42/deps/@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 pseudo classes.

pseudo: string

Rewrite the output selector. Often be used to append pseudo 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.

optional
noMerge: boolean

Option to not merge the resulting entries even if the body are the same.