Set a Project's Design Config
set-design-configSaves exact design token values (colors, radius, fonts, icon library and layout density) onto a generated project, merged over its current config. The saved values replace the earlier ones, and anyone with the project's config URL can read them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Partial design config to merge over the current one. Only pass the fields the user changed. Colors are oklch() strings (e.g. 'oklch(0.62 0.11 45)'); radius is a CSS length (e.g. '0.75rem'); fonts are family names; density is compact, comfortable or spacious and overrides the design system's layout density. | |
| projectId | Yes | The project id returned by create-design-system. |