How to change the theme color by click a button dynamic?

Hi,

I am using the material scss, I would to set five color style in my website, how to change the color dynamic ?

I follow the link : https://www.syncfusion.com/kb/10868/dynamic-theme-change, but I don't want to change the theme, I only want to change the theme color.
and the link using the css, I am using the scss.

I would like to use different class name in the body, and apply difference global variants value.

Can you help me?



1 Reply 1 reply marked as answer

JA Jesus Arockia Sankaran S Syncfusion Team November 24, 2020 12:20 PM UTC

Hi lorryl, 

Thank you for contacting Syncfusion support. 

We want to inform you that Syncfusion components supports only build time SCSS compilation and we can compile different color themes in build time for being used in the runtime as in the link shared in previous update.  


Please get back to us if you have any queries. 

Regards, 
Jesus Arockia Sankaran S 


Marked as answer
Loader.
Up arrow icon