Lint CSS for Design Quality
lint_cssLint pasted CSS or page URL to detect design-system issues—low contrast, missing focus outlines, tiny text, color/font overload, off-grid spacing, reduced-motion gaps, and token drift—and return a score.
Instructions
Lint CSS (pasted or from a URL) for design-system problems: low text contrast, removed focus outlines, tiny text, too many colors, font sizes or families, off-grid spacing, missing reduced-motion support, and colors that drift from your tokens. Returns a score. Deterministic, no API key needed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lint_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | CSS text | |
| url | No | Page URL to read stylesheets from | |
| tokens | No | Optional tokens JSON to check color drift against |