Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

3
Votes

Hi!

Feature

The use of css variables instead of concrete color values would much needed improvement would be to Syncfusion (Blazor) theming. The theme file available at _content/Syncfusion.Blazor/styles/material.css currently uses hard-coded values cor colors, please change these to css variables like var(--primary-color).

Advantages

  1. Currently to use custom themes I have to use Theme Studio. It works, but after each Syncfusion update, I have to regenereate the css files with Theme Studio and copy them to my project. With css variables I'd have to just overwrite the appropriate variable.
  2. Changing the theme in runtime would be possible. (E.g the user selects it from a color picker.)
  3. Using different colors for light and dark theme would be pussible.

If there is a way to achive this functionality already please let me know. Thanks!