Audit hardcoded design tokens
audit_tokensFlags hardcoded colors and raw pixel spacing in inline styles and styled-components templates, helping you replace them with design tokens for consistent theming.
Instructions
Flags hardcoded colors and raw pixel spacing in inline styles and styled-components templates, instead of design tokens.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rootDir": "<rootDir>"
},
"name": "audit_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootDir | Yes |