Changing the Designer Theme
Our sample projects and report templates can help you learn the basics of working with our products.Embed the dashboard designer in JavaScript, load a template, and connect its editing and save actions.
Designer setup. Configure the designer, load the dashboard template, process its callbacks, and connect the save action to the application.
Designer setup. Configure the designer, load the dashboard template, process its callbacks, and connect the save action to the application.
var options = new Stimulsoft.Designer.StiDesignerOptions();
options.appearance.theme = Stimulsoft.Designer.StiDesignerTheme.Office2022WhiteBlue;
var designer = new Stimulsoft.Designer.StiDesigner(options);
function setTheme(theme) {
designer.setTheme(theme);
}The theme comes from StiDesignerTheme, and designer.setTheme(...) changes it on the fly, letting users choose a light or dark appearance.