devtools_css_variables
Retrieve CSS custom properties defined on :root to diagnose theming issues such as missing tokens, wrong colours, or unloaded stylesheets.
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 | |||