| Class | Description | |
|---|---|---|
fillSets SVG fill color via --fill. CSS Rules Usage
The .fill
class is flagged as a value-driven selector.
The variable --fill is required. Responsive & Dark Mode
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The Shorthand
Value-driven classes support a shorthand syntax like CLS Alert
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
| .fill | Sets SVG fill color via --fill. |
fill/oSets SVG fill color + opacity via --fill and --fill-o. CSS Rules Usage
The .fill/o
class is flagged as a value-driven selector.
The variables --fill and --fill-o are required. Responsive & Dark Mode
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The Shorthand
Value-driven classes support a shorthand syntax like CLS Alert
This feature may cause CLS (Cumulative Layout
Shift). Make sure to include a
| .fill/o | Sets SVG fill color + opacity via --fill and --fill-o. |