Config API Reference
kittl.design.config — read and update design-level configuration.
Scope: design:state:write
setConfig(config)
Updates design-level configuration. Only specified properties are changed.
| Property | Type | Description |
|---|---|---|
title | string | Design title |
dpi | number | Dots per inch for print output |
unit | Unit | Measurement unit (e.g. 'mm', 'px', 'in') |
designId | string | Design identifier |
templateId | number | string | Template this design is based on |
folderId | string | Folder the design belongs to |
previewBoardId | string | Board used for preview generation |
overrideColorPalette | string[] | Override the design's color palette |
overrideColorKeys | string[] | Override specific color keys |
overrideLuminosityRatio | number | Override luminosity ratio for color adjustments |
Returns: SdkResultAsync<void>