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:187
d
• d: string | InlineDirective
The directive: "text-sm"
, "rotate-45"
Defined in: src/types/twind.ts:172
i
• i: undefined | boolean
Is this rule marked as important: "!stroke-4"
=> true
Defined in: src/types/twind.ts:178
n
• n: undefined | boolean
Is this rule negated: "-rotate-45"
=> true
Defined in: src/types/twind.ts:175
v
• v: string[]
The variants: [":sm", ":dark", ":hover"]
Defined in: src/types/twind.ts:167