generate_css_variables
Convert universal design tokens into CSS custom properties with built-in support for light and dark mode themes.
Instructions
Generate CSS custom properties from universal design tokens with light/dark mode support
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": {
"tokens": "<tokens>"
},
"name": "generate_css_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | Yes | Universal design tokens JSON string | |
| darkTokens | No | Optional dark mode universal design tokens JSON string |