Interface: Rule

twind.Rule

Properties

$

$: string

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).

Defined in: src/types/twind.ts:184


d

d: string | InlineDirective

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

Defined in: src/types/twind.ts:169


i

i: undefined | boolean

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

Defined in: src/types/twind.ts:175


n

n: undefined | boolean

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

Defined in: src/types/twind.ts:172


v

v: string[]

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

Defined in: src/types/twind.ts:164