extract_design_tokens
Extract perceptual OKLCH color, dark-mode, 8pt spacing, typography, radius, and glass elevation tokens from UI markup and CSS for consistent design systems.
Instructions
Extract perceptual OKLCH color tokens, synthesized dark-mode counterparts, 8pt grid spacing tokens, typography scales, border radii, and glassmorphism elevations.
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": {
"markup": "<markup>"
},
"name": "extract_design_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | ||
| markup | Yes | ||
| componentName | No |