Completed
Last Updated: 23 Oct 2019 21:24 by Ben Hayat
Ben Hayat
Created on: 22 Oct 2019 23:09
Category: UI for Blazor
Type: Feature Request
1
Bootswatch Themes for development & Runtime

Hello Team;

I'd like to suggest to offer us an easy way to use the different themes offered by Bootswatch (bootstrap themes) during development and also allow us to offer that capability to our user, so they can pick their own theme.

Hope this helps!

Thanks!
..Ben

2 comments
Ben Hayat
Posted on: 23 Oct 2019 21:24
Thanks Marin for the answer.
ADMIN
Marin Bratanov
Posted on: 23 Oct 2019 06:48

Hi Ben,

Both are already possible.

Using bootstrap themes and variables can be incorporated into the build, one example is available in this sample app: https://github.com/telerik/blazor-dashboard. Alternatively, you can create a custom theme through our Theme builder, see which variables it uses when you download it and update them with the custom values you can get: https://themebuilder.telerik.com/blazor-ui.

On changing themes at runtime - to do this, simply change the stylesheet that is being referenced by the app. You can find an example of this in the wwwroot\js\themeManager.js file in our demos.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor