Generate Theme
generate_themeGenerate a brand theme that outputs CSS variables and Figma Variables JSON from design tokens; requires brand name and primary color, optional neutral.
Instructions
Generate a complete theme with CSS variables and Figma Variables JSON using Optics design tokens
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": {
"brandName": "<brandName>",
"primary": "<primary>"
},
"name": "generate_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brandName | Yes | The name of the brand/theme (e.g., "Acme Corp") | |
| primary | Yes | Primary brand color (hex, e.g., "#FF5733") | |
| neutral | No | Neutral color (hex, optional) |