Theme Switcher

Menu or toolbar (depending on where the plugin is assigned) for selecting a BPC theme. After selection, the BPC is reloaded with the selected theme.

theme switcher

Configuration

The configuration parameters are described below:

  1. text: Label for the selection element.

  2. iconCls: Icon for the selection element.

  3. themeIconCls: Icon for the elements in the theme selection list if no icon is set for a specific element.

  4. theme: Configuration of how an element is displayed in the theme selection list. For an element, you can configure text, iconCls, and hidden. The name of the theme must also be specified.

theme switcher noticed

Example configuration
{
   "text": "CORE_THEME_SWITCHER_PLUGIN_LABEL",
   "iconCls": "x-fal fa-desktop",
   "themeIconCls": "x-fal fa-refresh",
   "theme": {
      "default": {
         "text": "CORE_STANDARD_THEME",
         "iconCls": "virtimoNavigationIcon icon16",
         "hidden": false
      }
   }
}

Keywords: