Hello Everyone,
In this tutorial, I am implementing a feature to switch between light & dark theme for Blazor WebAssembly application. You are going to need to create CSS files for your themes and then create a JavaScript function to switch between these themes. We can use JavaScript Interop to call JavaScript function from Razor Components.
Source Code - https://github.com/CuriousDrive/BlazingChat
Ed’s EBook - https://www.telerik.com/campaigns/blazor/wp-beginners-guide-ebook
#webassembly #blazor