/
Theming

Theming

In Portrait 6.x, the theming capability was extended; you can now set the colors to your needs for Portrait. Inside the application.yml file, you can find the config section theme under application.

 

Property

Default

 

Property

Default

Logo URL

Absolute or relative path to your logo, which is used in the menu and on the login page. This can be either a JPG, PNG or SVG (recommended).

logoUrl

/icons/logo-full.svg

Hero URL

Absolute or relative path to your hero image, which is used on the dashboard. This can be either a JPG, PNG or SVG (recommended).

heroUrl

/icons/logo-hero.svg

Raster Logo URL

Absolute or relative path to your rasterized logo, which is used on PDF exports. This can be either a JPG or PNG.

rasterLogoUrl

/icons/logo-raster.png

Highlight color

Buttons, call to actions, links

highlightColor

#357aeb

Global background color

Primary background color

backgroundColor

#f8f8f8

Global font color

Font color for all texts inside the app

textColor

#282b34

Menu background color

Background color of the sidebar and top menu

alternateBackgroundColor

#ffffff

Label color

Color for sub headlines and captions

labelColor

#989ba2

Divider color

Color for borders and frames

dividerColor

#eaeaea

Default configuration in the application.yml file:

application: name: Portrait App owner: Treskon GmbH ... theme: