Hello,
can somebody explain me how to install new themes?
I suppose this has to be done via GitHub?
If yes on what do I have to search?
If no can you please explain me how it needs to be done?
Can we afterwards easily switch between Themes?
Regards,
Bjorn
You don’t need to download anything- there are several default themes included with Wisej- including Blue-1, Blue-2, Blue-3, Bootstrap-4, Classic-2, Clear-1, Clear-2, Clear-3, Graphite-3
All of these are included with Wisej: https://github.com/iceteagroup/wisej-themes
If you want to create your own custom theme, you can do that using the Wisej.NET Theme Builder. https://wisej.com/theme-builder/ The theme file created will have the extension .theme. You can then add it to your Wisej project.
If you want to preview what a theme will look like in the designer, you can click on the button in the toolbar to change which theme you are viewing. (see screenshots)
To initially set the theme when the application starts, you can either set it in the Web.Config file (see screenshot). OR define it in the default.json file. (see screenshot) The theme in default.json will override the one in Web.Config.
If you’re trying to change the theme at runtime you can use Application.LoadTheme(themeName);
You can use this to easily switch between themes at runtime.
Helpful documentation: https://docs.wisej.com/docs/concepts/theming
-Julie
Hello,
didn’t know it was so easy to switch between different themes.
many thanks for your support.
regards,
bjorn
Please login first to submit.