design_tokens
Generate design tokens for named themes, custom OKLCH palettes, CSS formats, or Tailwind configs to standardize UI styling.
Instructions
Generate design tokens. Select action: theme (named theme or genre), custom (OKLCH paper/accent + fonts), css (vanilla/CSS Modules/SCSS/variables-only), or tailwind (complete tailwind.config.js).
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": {
"action": "<action>"
},
"name": "design_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| genre | No | Genre for theme action (ignored if theme_name is set) | |
| style | No | Design system slug for css/tailwind actions (e.g. glass, minimal, material) | |
| action | Yes | Token generation mode | |
| format | No | Output format for css action | |
| palette | No | Color palette for css/tailwind actions | |
| paper_c | No | Custom paper chroma (0-50) | |
| paper_h | No | Custom paper hue (0-360) | |
| paper_l | No | Custom paper lightness (0-100) | |
| accent_c | No | Custom accent chroma (0-50) | |
| accent_h | No | Custom accent hue (0-360) | |
| accent_l | No | Custom accent lightness (0-100) | |
| font_body | No | Body font stack for custom action | |
| font_mono | No | Optional mono font stack for custom action | |
| last_theme | No | Previous theme name for diversification | |
| theme_name | No | Named theme for theme action: Specimen|Atelier|Newsprint|Studio|Manifesto|Brutal|Terminal|Midnight|Bloom|Aurora|Cobalt|Coral|Hum|Garden|Sport|Carnival | |
| last_accent | No | Previous accent hue for diversification | |
| font_display | No | Display font stack for custom action |