Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Rule

interface Rule {
$: string;
d: string | InlineDirective;
i: boolean | undefined;
n: boolean | undefined;
v: string[];
}

§Properties

§
$: string
[src]

The id is the tailwind rule including variants, negate and directive

Initialy this is set to an empty string.

This is used to cache the id of static rules (from template literals).

§

The directive: "text-sm", "rotate-45"

§
i: boolean | undefined
[src]

Is this rule marked as important: "!stroke-4" => true

§
n: boolean | undefined
[src]

Is this rule negated: "-rotate-45" => true

§
v: string[]
[src]

The variants: [":sm", ":dark", ":hover"]