Skip to main content
Version: 2026.1

Universal theme

Introduction to Universal theme​

You can use themes in the Universal UI to define the overall look and feel of the interface. You can set up a font type, color palette, and other style properties. For each theme, you can configure a Light and a Dark mode. You can apply a different theme to each of your applications.

If you use the Windows GUI for your application, see Classic theme (Windows GUI).

Create a theme​

To create a theme for the Universal UI:

menu User Interface > Themes

  1. Select Add add and enter a theme name.

  2. Select Universal as Theme type. Windows GUI To set up a classic theme, see Classic theme (Windows GUI).

  3. Enter a Description.

  4. Set the Default theme to Dark or Light. A user can switch between the dark and light mode in the application, so settings are available for both modes. Users can change their preferences in the profile menu. For more information, see Theme and localization.

  5. Upload a Theme picture for both the Light and Dark mode. This image is used as a background image in the application.

  6. Select the Fit for the background:

    • Tiled - The image is repeated horizontally and vertically across the entire screen, like a pattern, without scaling or distortion. Empty spaces are filled with the background color.
    • Center - The image is centered. Empty spaces are filled with the main color.
    • Fit - The image is resized so it fits within the screen, without being cropped or distorted. Empty spaces are filled with the main color.
    • Stretch - The image is resized to fill the entire screen in width and height. The image may be distorted (stretched wider or taller).
    • Fill - The image is resized to cover the screen completely. Parts of the image may be cropped.

Universal theme settings

Set up a font​

You can select an existing font or add a new one. The selected font face and size are used for the headers and body of the interface; the font color and style are ignored.

To add a new font:

menu User Interface > Themes > group Font

  1. Select the lookup control .
  2. In the lookup pop-up, go to the tab Form.
  3. Select the Add button.
  4. Select a Font face, Font size, and Color.
  5. Optional. The font name is automatically generated and available in the field Font. You can change this if desired.

Set up colors​

The following colors are available to style an application, for both Dark and Light mode:

  • Menu color - The color of the menu and top bar. If the menu color is not set, the main color is used. You can use menu colors to differentiate between applications or to match the color of your company logo. Check if the main and accent colors have sufficient contrast with the menu color and backgrounds used in both light and dark modes to ensure optimal readability.
  • Main color - The primary color refers to the color that appears most frequently in the application.
  • Accent color - The accent color refers to the color used to accent key parts of the user interface. For example, the background color of badges.

You can select an existing color or add a new one.

To add a new color:

menu User Interface > Themes > group Light/Dark

  1. Select the lookup control .
  2. In the lookup pop-up, select one of the following:
    • Basic color
    • Custom color - select the color in the color picker and select Add to Custom Colors.

Change the application icon and title​

By default, an application is provided with a Thinkwise icon and title. You can change this to customize your application.

The Universal folder contains three icons:

  • favicon.ico - The browser tab icon.
  • logo.png - The shortcut icon on your screen (resolution 192x192)
  • logo-512.png - The shortcut icon on your screen (resolution 512x512)

Your browser decides whether to use logo.png or logo-512.png, based on the resolution.

To change the logo and title:

warning

When you replace the Universal UI with a newer build, exclude the manifest.json file and your icons, or they will be overwritten.

  1. Open the Universal folder.
  2. Change the icons.
  3. If you added icons with another name, point to the new icons in the manifest.json.
  4. Here, you can also change the application title.

See also:

Comfortable and compact mode in the Universal UI​

It is important to find the right balance between content and whitespace in your application. Proper use of whitespace improves comprehension, legibility, and focus and can help guide the user through the interface.

By default, the Universal UI uses comfortable mode. This mode offers more spacing between elements, creating a clear and legible interface. Some applications or use cases are less suited for this mode. For example, when an application displays large amounts of data that users need to scan, view, and compare. You can use compact mode in the Universal UI to display more data on the screen.

See the table below for the differences between these two modes.

SettingCompactComfortable
Font size14px14px
Grid row height36px44px
Pivot grid row height36px36px
Spacing4px8px

Users can switch between comfortable and compact mode in their profile settings. For more information, see Theme and localization.

You can set the default mode for your users in the config.json file. Use the following code:

"spacingMode": "compact"
note

If you do not define spacingMode:

  • compact is used for desktop.
  • comfortable is used for touch devices.
tip

You can customize the appearance of screen components in the Universal UI, for example by adjusting grid and form settings. For more information, see Settings for subjects.

Custom CSS in the Universal UI​

note
  • Adding custom CSS by renaming the custom.sample.css file to custom.css in the public folder of the Universal UI is deprecated. You can add Custom CSS for a web domain in IAM to customize login pages and application-wide styling.
  • The Custom CSS file configured per web domain in IAM takes precedence over the existing custom.css file of the Universal UI. If a Custom CSS file is added in IAM, the entire custom.css file of the Universal UI is ignored. If no Custom CSS file is uploaded in IAM, the Universal UI uses its original custom.css file.

Was this article helpful?