@aurigma/ui-framework
Version:
A platform which allows building print product personalization editors based on Aurigma's Customer's Canvas.
51 lines (32 loc) • 1.22 kB
Markdown
Provides properties to define a product theme.
For details, you can refer to the [SetTheme command](https://customerscanvas.com/dev/editors/ui-framework/widgets/design-editor-commands/set-theme.html).
```
{
"type": "canvas",
"name": "editor",
"params": {
"initial": { ... },
"setTheme": {
"primary": "{{ "
"secondary": "{{ "
}
}
}
```
* [ICanvasCommandDefinition](icanvascommanddefinition.md)
↳ **ICanvasDefinitionSetTheme**
* [after](icanvasdefinitionsettheme.md
* [theme](icanvasdefinitionsettheme.md
• **after**? : *string | string[]*
*Inherited from [ICanvasCommandDefinition](icanvascommanddefinition.md).[after](icanvascommanddefinition.md
The next commands to be executed after this command completes.
___
• **theme**: *string | CustomersCanvas.IframeApi.Configuration.IProductThemeConfig*
Typically, it is a theme name as a string, but you can also pass a [structure describing an "ad-hoc" theme](https://customerscanvas.com/dev/editors/iframe-api/howto/change-theme.html).