Set design system
pixl_set_design_systemLock a design system using a preset with optional overrides or fully custom tokens. Returns a token contract to enforce consistent UI generation.
Instructions
Lock the design system. Pass a presetId (from pixl_list_presets) with optional overrides, OR fully custom tokens. Writes tokens.json + design/*.md and returns the TOKEN CONTRACT — obey it for every screen you generate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| presetId | No | Preset id, e.g. 'clean-saas'. Omit only if passing customTokens. | |
| overrides | No | ||
| customTokens | No | Full custom token set (same shape as a preset's tokens). Use for a bespoke system. |