Theme
The Journey Engage user interface (UI) design is based on a theme that includes a color palette of optimized tones and shades derived from a primary color. The theme
property defines a set of overrides of the default look and feel; in particular, you can modify the primary color to match your brand.
note
It is strongly recommended to modify the primary color only. Other overrides should be used only if there are contrast issues.
If you need to change the primary color, we have guidance to help you select a color that's compliant with WCAG 2.0 level AA contrast guidelines.
There are two places that you can set the theme and the path to the logo image. The first is via Temenos Journey Manager (TJM) User Settings, and the other is in the transact-config.json
configuration file.
note
If the User Setting is applied in Temenos Journey Manager, it will take precedence over any other places these options are set.
Set Theme or Logo path via Temenos Journey Manager
This option allows the theme to be set dynamically based on the user's profile setting. If the user's profile doesn't contain the theme settings, the app's default theme is applied.
- Login to Journey Manager.
- Select Security > User accounts. Locate the user to update, then click the Login Name or the Edit icon in the Action column.
- Switch to the User Profiles tab, then click the Profile Name or the Edit icon in the Action column.
- Switch to the User Properties tab.
- Click New, then enter the user property details.
- To add a Theme user property:
- In the Type list, select Theme.
- In the Value box, enter the theme JSON.
- To add a Logo path user property:
- In the Type list, select Logo.
- In the Value box, enter the logo path as a string.
- To add a Theme user property:
- Click Save.
If the Theme or Logo option doesn't exist, you need to add it as a form property type.
- Login to Journey Manager.
- Select Forms > Property Types.
- Click New.
- In the Name box, enter either Theme or Logo, corresponding to the type of property being created.
- In the Scope list, select User.
- Select an appropriate Data Type according to the property type:
- For a Theme property, select JSON.
- For a Logo property, select string.
Set Theme via the 'transact-config.json' configuration file
Add or update the "theme"
JSON object in the "appDef"
object. For example:
{
"appDef": {
...
"theme": {
"primary": {
"main": "#0075DB"
}
},
}
}
Attributes
To review the list of supported attributes, see API Reference.