havit / Havit.Blazor

Free Bootstrap 5 components for ASP.NET Blazor + optional enterprise-level stack for Blazor development (gRPC code-first, layered architecture, localization, auth, ...)
https://havit.blazor.eu
MIT License
479 stars 67 forks source link

[doc] Themes switching - should remove original CSS link #235

Open hakenr opened 2 years ago

hakenr commented 2 years ago

Currently, when switching themes in doc, we just add a new CSS link. The original link (to our custom BS build) remains in the header and merges with the new styles. This causes some specific nuances, such as rounded corners in dropdowns, etc.

We have to keep just the selected link active.

hakenr commented 2 years ago

Moving all the CSS links to HeadContent causes UI flickering when starting the WASM app: https://github.com/dotnet/aspnetcore/issues/42527

hakenr commented 2 years ago

Related Blazor issue: https://github.com/dotnet/aspnetcore/issues/42561