Colors
const configurator = await RoomleConfiguratorApi.createConfigurator(
'demoConfigurator',
document.getElementById('configurator-container'),
{
...options,
skin: {
'primary-color': '#1d68bd', // optional but please use a CSS RGB hex like #ff00ff if you want to rely on the color detection see explaination above
'color-on-primary': '#f4e440', // optional, Roomle can decide this for you
'cta-color': '#980d3f', // please use a CSS RGB hex like #ff00ff if you want to rely on the color detection see explaination above
'color-on-cta': '#8e8e8e', // optional, Roomle can decide this for you
},
},
);Last updated