We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to load the dashboard in dark color (custom theme)

Platform: Dashboard Platform |
Control: Dashboard SDK

Steps to load the Dashboard with custom theme

  1. Customize the theme of the Dashboard by using the ‘customThemeSettings’ of the JavaScript API. To know more about the custom theme API, please refer the following link:



  1. Use the following code snippet to enable the custom theme, and render the Dashboard in the dark theme.
                serviceUrl: ‘Dashboard Service URL’,
                dashboardPath: ‘Path of the dashboard’,
       enableCustomTheming: true,
                     "dashboard": {     
                   "background-color": "#0c0d0f",    // dark color theme   
                   "menu-hover-color": "#262A33",     
                   "icon-hover-color": "#F2F2F2"                
                     ….. //Refer the below JSON input is attached, download and copy the content and set to customThemeSettings.


  1. Find the JSON input for the dark color theme in the following link:



  1. Find the sample in the following link to load the Dashboard in the dark theme:




The following screenshot illustrates the above sample:


Custom Theme applied Dashboard sample

You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile