Compose design tokens
compose_design_tokensCompiles role-based design tokens (color, typography, spacing, etc.) into JSON, CSS variables, Tailwind, or TypeScript, with light/dark modes, accent override, and WCAG contrast warnings.
Instructions
Compile a starting set of role-based design tokens (color, typography, spacing, radius, motion, density) for a style in json / css-variables / tailwind / typescript, with light/dark/both modes, accent override, and WCAG contrast warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| locale | No | ||
| density | No | ||
| colorMode | No | ||
| accentOverride | No | ||
| primaryStyleId | Yes | ||
| secondaryStyleId | No |