audit_theme_usage
Scans project files to identify dead design tokens by checking if each CSS custom property in @theme blocks is referenced in source code.
Instructions
Identifies dead design tokens by scanning the project files. Checks each CSS custom property defined in @theme blocks to see if it is referenced anywhere in the source code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css_path | Yes | Absolute path to the CSS file containing the @theme blocks | |
| scan_dirs | No | Optional array of subdirectories to scan (defaults to ["src"]) | |
| project_root | Yes | Absolute path to the project root directory |