Theme Switcher

Menu or toolbar (depending on the location of the plugin assignment) for selecting a BPC theme. The BPC is reloaded with the selected theme after the selection.

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 the display of an element in the theme selection list. For an element, text, iconCls and hidden can be configured. The name of the theme should also be given.

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: