devtools_css_variables
Return CSS custom properties defined on :root to diagnose theming issues, including missing tokens or wrong color values.
Instructions
Return CSS custom properties (variables) defined on :root.
Helps diagnose theming issues: missing tokens, wrong colour values, variables that weren't loaded because a CSS file failed to fetch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No | Only return variables whose name starts with this prefix, e.g. '--color' or '--'. Empty = all custom properties on :root. | -- |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||