This project was created to figure out how I can best white label my application by allowing customer to have their own styles and layouts.
Blazor is a cool framework to use. I strongly feel anything you cna do in a JS based framework you can do in Blazor.
-
Clone this repository
git clone https://github.com/CodingWithDavid/ThemeSwitcher cd ThemeSwitcher
-
Open in Visual Studio or Visual Code a. With Visual Code you will need to install the C# extensions
-
Press F5
You will be able to either click a button and dynamically change the CSS style sheet or you can use a page parter and change the styles dynamically