validate_theme
Validate any compiled theme CSS against a token contract and WCAG contrast audit to identify missing tokens and accessibility warnings.
Instructions
Validate ANY theme CSS against cia's real token contract and WCAG contrast audit — the same check npm run validate-themes runs, exposed as a tool call. Not scoped to cia's own themes: works on a fully custom theme you (or another agent) just built, e.g. via the derive-theme assemble_prompt intent. Pass compiled CSS (a :root or [data-theme="..."] block) — this does not compile Sass, so give it the output, not .scss source. Returns missing required tokens (if any, mode "per-file" or "consolidated" depending on shape) and a11y warnings per contrast pair.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | Yes | Compiled theme CSS to validate — the :root/[data-theme] block(s), not .scss source. | |
| label | No | Optional name for the result (e.g. the intended theme name); purely cosmetic. |