IThemeConfiguration Interface

A structure containing the properties that redefine the appearance of the UI theme.

example
let product = {
    "surfaces": { designFolder: "photobook" }
};

let config = {    
    "themeConfiguration": {
        "primaryColor": "#0090FF",
        "logo": "https://example.com/logo.svg"
    }
};

var editor = await CustomersCanvas.IframeApi.loadEditor(
                   document.getElementById("editorFrame"), product, config);

Properties

primaryColor

primaryColor: string

The primary color of the UI theme, a string in the CSS format. For example, "#78187b" or "rgb(120,24,123)".