Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
This article describes how to configure the branding to be used in Smart ID Self-Service.
Info | ||
---|---|---|
| ||
In this article, <SMARTIDHOME> refers to /home/nexus, but this can be different depending on the setup. |
Smart ID Self-Service offers the possibility to select a customized branding, for example to adapt logos, colours and fonts.
Customize the branding
- Go to the folder <SMARTIDHOME>/docker/compose/seflservice/config/branding.
- Copy the default folder and select a new name for the copied folder.
In the new folder, to reflect your custom branding, you can:
change colours and fonts in theme.css file.
change the logo by replacing logo.png with your own (name must be logo.png)
Code Block | ||||
---|---|---|---|---|
| ||||
:root { /* The font family. "--font-family-sans-serif" is the default font used by bootstrap. */ --font_family: var(--font-family-sans-serif); /* The primary color (e.g. shown in the navigation header) */ --color_ussp_primary: #00999980; /* The darker version of that primary color (e.g. shown as a header for forms) */ --color_ussp_primary_dark: #009999; /* The secondary color (e.g. shown in the left menu background) */ --color_ussp_secondary:#D0D3DA; /* The tertiary color (e.g. shown in a submenu item) */ --color_ussp_tertiary: #a2a2a2; /* The quaternary color (e.g. shown login page corner texts) */ --color_ussp_quaternary: #ffffff; /* The background color of the login page */ --color_ussp_login_background: #D0D3DA; /* The color of the header text on the dashboard */ --color_grid_header_text:#a2a2a2; /* The color of the header on one grid item (process on dashboard) */ --color_griditem_headline: #a2a2a2; /* The color of the text in one grid item (process on dashboard) */ --color_griditem_text: #a2a2a2; /* The color of an action item (e.g. the search) */ --color_action_item: #2387AA; /* The color of the possible actions link */ --color_possible_actions: #ffffff; /* The color when an action item is disabled */ --color_disabled: #a2a2a2; /* The size of the logo on the login page */ --size_logo_login: 5rem; /* The size of the logo in the nav area */ --size_logo_nav: 3rem; } |
Note | ||
---|---|---|
| ||
A few things to know before changing the font in Smart ID Self-Service:
If you are unsure about what values to use, check out the definition of the font-family css property. |
Select the branding
- Edit the Self-Service configuration file located at<SMARTIDHOME>/docker/compose/selfservice/config/config.json.
Change the parameter
theme
to the folder name you created in "Customize the branding"Code Block language text title Example: default branding "theme": "default"
Note | ||
---|---|---|
| ||
There is no automated update path for custom branding. It might be necessary to adapt the style with new releases because of changes in the standard software. Therefore, custom branding can cause additional efforts during update. |
This article is valid for Smart ID 21.04 and later.