generate_theme_css
Generate CSS custom properties for a complete color theme from a single source color, with configurable prefixes and tone values for consistent design tokens.
Instructions
Generate CSS custom properties for a complete theme from a source color
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": {
"sourceColor": "<sourceColor>"
},
"name": "generate_theme_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No | Prefix for CSS variables (e.g., 'color' → --color-primary-50) | color |
| sourceColor | Yes | Source color for theme generation | |
| includeTones | No | Tone values to include (default: 0,10,20,30,40,50,60,70,80,90,95,99,100) |