Portal Theme Selector
General
As a developer, we can add, remove and update one or more CSS files to the Portal Application by clicking the option Theme Selector.
On this page, we can see the list of themes that are created.
This feature is accessible only through the User Interface.
With the Portal 3.9 version release, the themes are classified based on the UI framework it supports. For example, when you upload a theme for the MUI framework, the theme is marked as MUI specific in the back-end and will only appear in the list of themes only for the MUI portal.
Status
Release Available | Status | Framework Name |
---|---|---|
3.8 | Current | TBC |
3.9 | Current | MUI and Mint |
Create theme details
On this page, we can create a theme by giving the theme name and the description. We can add the CSS file using the Upload Theme button.
Migrate the themes uploaded before the Portal version 3.9
With the Portal version 3.9 release, the new style tag is added with the theme. Due to this, any theme added in the previous versions of Portal are not appearing in the list and cannot be applied to the Portal. To resolve the issue and use the themes uploaded previously, rename the static resource name of the theme with the new static resource name format as <NavName>_
<mint/mui>_
<customeThemeName>
.
Edit theme details
On this page, we can edit the name and description of the themes created in Portal.
Update document, apply the theme, and delete theme details
On this page, we can change the CSS file using the Update Document button.
We can permanently apply the selected theme across the Portal application using the Apply Theme button.
Here the Active checkbox indicates that the particular theme has been applied.
The Delete button can delete the selected theme.
- After applying a theme, redirect to the builder to save the changes.
- When you update a new document for an active theme, new changes will reflect on loading the page.