Save design kit
iwork_save_design_kitSave a named design kit of fonts, colors, theme and background for reuse in Numbers, Keynote or Pages files, with contrast checked and optional overwrite.
Instructions
Save a design kit by name for reuse anywhere a kit is accepted. kit = {"fonts": {...}, "colors": {...}, "theme": "...", "background": "#RRGGBB"} (missing parts come from the "executive" preset, or from "base": ""), or a preset name to copy. Contrast is checked (4.5:1). Never replaces a saved kit unless overwrite=true; can't reuse a preset's name. Use when the user gives brand colours and fonts directly. To capture them from an existing file use iwork_extract_design_kit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kit | Yes | {"fonts": {...}, "colors": {...}, "theme": "...", "background": "#RRGGBB", "base": "<preset>"} or a preset name to copy. | |
| name | Yes | Name to save under, e.g. "Resal" (letters, digits, spaces, - or _; not a preset name). | |
| overwrite | No | true = replace a saved kit with the same name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||