Creating a Custom Theme for Designer of Business Applications

The designer of business applications uses the dba10 theme by default. Themes are contained in the folder:

The theme includes the following files:

To create a custom theme for web application:

  1. Copy the existing theme dba10, paste it to the current folder and rename the theme. For example, custom_theme:

If required, themes can be put into any folder. The path to the folder with themes of designer of business applications is set in the config.json file in the customThemesPath field.

  1. Create the custom.css file with custom formatting settings in the custom_theme folder. When setting up formatting take into account standard CSS rules. To determine a specific element of business application interface, use browser developer tools.

  2. Open the theme.json configuration file for edit:

{
 "key": "custom_theme",
 "name": "Custom theme",
 "platform": {
   "NavigatorBox": {
     "overrideStyles": true
   }
 },
 "customization": {
   "customCss": true
 }
}

Change field values:

  1. Change icons contained in the icons folder.

  2. Specify theme key in the config.json file in the themes field:

"themes": ["custom_theme", "dba10"]

The first theme is used by default.

  1. Restart designer of business applications back end.

  2. Clear browser cache if required.

After executing the operations, the custom theme is used on opening business application.

See also:

Questions and Answers