Page tree
Skip to end of metadata
Go to start of metadata

The Swat Framework supports custom themes that handle the look-and-feel of the application, styling changes.

Active theme can be set:
1. per application level (default theme)
2. per user level, by changing it from the User profile screen (profileW)


List of available themes shipped with Swat Framework:

- light-simple (default in offer application)
- dark-simple
- orange-simple


Default Application Theme

The default Theme defined on the application level is "light-simple".
This can be changed, for example to "dark-simple", by updating the PASOE config file as follows:

<defaultUiTheme>dark-simple</defaultUiTheme>


User defined theme

The theme can also be set on the user level, this will overwrite the defaultUiTheme set per application level.
To change the theme per user, login with your user and go to the user profile screen to update the theme.
Just updating the dynselect value will preview the theme but saving will update the userprofile value.

1.open user profile from dropdown

2. theme can be switched from the theme dynselect

3. saving changed theme to user profile to persist after login and refresh

 

New Custom theme


There is also the possibility to add your own custom theme.
This will require the developer to clone a new repository for the custom theme files on his environment.
This repository will contain the SASS custom theme code and could also contain custom Client Logic code.

For this to work the developer can open the user profile screen( with developer rights) and using the Theme dynselect dropdown button, the developer can add a new custom theme.
Once the custom theme is available to select, the user can set the custom theme as active theme by saving it to the userprofile.

After setting the newly added theme, the only requirement would be to build the CSS files from the custom theme repository folder.

 

(MORE info will be added here after osiv themes are working)

  • No labels