IProductThemeConfig Interface

A configuration of color themes for products.

example
var productThemes = {
    "violet": {
        "main": "rgb(102,45,145)",
        "alternative": "rgb(150,67,214)",
        "borders": "rgb(190,107,255)",
        "texts": "rgb(32,18,77)",
        "shadows": "rgb(123,123,123)"
    },
    "rose": {
        "main": "rgb(241,160,175)",
        "alternative": "rgb(255,200,214)",
        "borders": "rgb(255,255,255)",
        "texts": "rgb(224,102,102)",
        "shadows": "rgb(88,88,88)"
    }
};

CustomersCanvas.IframeApi.loadEditor(iframe, productDefinition,
    { productThemes: productThemes, defaultProductTheme: "violet" }
);

Indexable

[name: string ]: string

A configuration of color themes for products.