You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "shalnice (via GitHub)" <gi...@apache.org> on 2023/02/27 15:36:05 UTC

[GitHub] [superset] shalnice commented on issue #23045: Adding custom color palettes/ Color themes to Charts and Branding in Superset

shalnice commented on issue #23045:
URL: https://github.com/apache/superset/issues/23045#issuecomment-1446553050

   Hello @srinichalla9 
   
   To force specific colors on the chart legends, you do it via JSON metadata in the << Edit dashboard properties >>. Please refer to tutorial below on how to do it : https://www.youtube.com/watch?v=AMC-WOgSBBg
   
   As for the header, i believe the only way to do it to modify the CSS template. Try the following code : 
   
   .dashboard-component-header {
     color: white;
     background : blue;
     text-align : center;
     font-size : 20px;
     font-family : sans-serif;
   }
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org