Create a design kit (theme)
create_themeCreate a new design kit from scratch or fork a catalog kit and apply overrides for tokens, colors, fonts, and facet presets. The kit remains private until published from the web Studio.
Instructions
Author a new design kit, either from scratch by passing a kit JSON or by forking a published catalog kit with base and applying overrides for tokens, colors, fonts, and facet presets. Use base whenever a catalog kit is close to what you want, since a fork inherits a complete, coherent system and you only state the differences. Authoring from scratch means supplying the whole thing. The result is always PRIVATE and visible only to your key until you publish it from the web Studio; this tool cannot publish. Forking a Pro catalog kit needs an entitled key. Use remix_theme instead when you want several quick variations off one direction. Requires the kits:write scope, so regenerate your key with identityforge login if you get a 403 naming it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit | No | A kit JSON to author from scratch (merged over a renderable skeleton). Omit when `base` is set. | |
| base | No | Catalog slug to fork (omit to author from `kit`). | |
| name | Yes | Display name for the new kit. | |
| overrides | No | Mix-and-match overrides applied on top of the base kit. Structure-level composition is not available via the API. |