generate_system
Generate design-token systems from templates, including color palettes and spacing scales. Use dry-run mode to preview before writing files.
Instructions
Generate a new design-token system from a template. Supports color palettes, spacing scales, and full systems. Use dryRun=true to preview first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview mode — show generated tokens without writing files | |
| params | No | JSON string of template parameters, e.g. '{"primaryColor":"#3B82F6","steps":11}' | |
| template | Yes | Template ID, e.g. 'color-palette', 'spacing-scale', 'full-system' | |
| outputDir | No | Directory to write generated files (relative to project root) |