Generate Button States
generate_component_statesGenerate accessible button CSS from one brand color, covering default, hover, active, focus-visible, and disabled states for primary, secondary, ghost, and danger variants with contrast checks.
Instructions
Generate complete, accessible button CSS from one brand color: default, hover, active, focus-visible and disabled for primary, secondary, ghost and danger variants, with every state's contrast verified. Deterministic, no API key needed.
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": {
"brand": "<brand>"
},
"name": "generate_component_states"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | Yes | Brand color as hex | |
| variants | No |