So we use MS VS202 as our IDE. we create blazor SPA Web apps (Server Interactive) and have installed radzen as a top tier stack for the UI.
I have taken code from the sample theme switcher from radzen site .. maybe only three themes work, even then the body container remains white, and some themes completely mess everything up with jumbled up screens
Before i post files ... whatever they need to be .. i just wanted to check that theming should work....because there are inconsistencies that I'm not sure whether they are contributing to the problem., as follows
Blazor app creation in VS crates a Layout folder under which the MainLayout and NavBarMenu are stored with css files There's also an app.css file. All pages use this layout and menu. So i changed the pages to use radzen components only, and I refactored the radzen MainLayout and MainLayoutComponent files into a single page component under Layout.
All seems fine until itry and switch themes with the theme demo code.
In radzen examples..
- every page uses @layout , i don't use this.
- there are css files in the www folder, are these needed and where to store in blazor spp
- are any other stylesheets needed?
- is there anything I'm missing to grasp?
as i say, all ok apart from switching theme. material i and default s the only one that "works" but even then the @body fragment remains white.
p.s. due to company policy we cannot install radzen studio