custom theme

I am trying to figure out how I customize my theme with syncfusion. I want my primary color to be custom company colors. I also want to switch from light to dark theme based on a switch from the user which in turn will change all theme colors but I don't see any documentation on this. 

1 Reply

JR John Rajaram Syncfusion Team September 26, 2018 11:28 AM UTC

Hi Josh, 
Greetings from Syncfusion. 
We like inform you that, you can use the Essential JS 2 Theme studio support, for changing the Primary color of the EJ2 components. Please refer the following online ThemeStudio and documentation. 
Theme studio: 
Theme studio documentation: 
Also, we have created a sample for your reference for switching the theme between light to dark. Please refer the below code snippets. 
change: function (e) { 
        var themes = document.getElementById("dropdownMenu1").ej2_instances[0].value; 
         
            themes = themes + "-dark"; 
             
            loadTheme(themes); 
        }  
You can find the sample from the following location. 
Please let us know if you have any queries. 
Regards, 
John R 


Loader.
Up arrow icon