CmdUiThemeDefine
Defines or updates a UI theme resource.
Arguments
| Field | Type | Description |
|---|---|---|
| themeId | u32 | Logical UI theme ID |
| version | Option |
Optional version (auto-bumps if none) |
| data | Map<String, Value> | Theme tokens |
| fontData | Map<String, bytes> | Font binary blob by name |
| fontFamilies | Map<String, Vec |
Font families (fallback order) |
Response
Returns CmdResultUiThemeDefine:
| Field | Type | Description |
|---|---|---|
| success | bool | Whether the theme was stored |
| message | String | Status or error message |
| themeId | Option |
ID of the theme |
| version | Option |
Stored version |
Documentation Vulfram Core