superset icon indicating copy to clipboard operation
superset copied to clipboard

HOW TO change colors in the dist_bar

Open anddyhuaa opened this issue 9 years ago • 5 comments

the default color is pink in the dist_bar ,it not suitable in the commerical report,so how to change the default color?

anddyhuaa avatar May 18 '17 03:05 anddyhuaa

Here's the palette. https://github.com/airbnb/superset/blob/master/superset/assets/javascripts/modules/colors.js#L5

You can alter it an make your own build.

mistercrunch avatar May 18 '17 04:05 mistercrunch

these colors seem something about airbnb's culture , the street of the aribnb?

anddyhuaa avatar May 18 '17 04:05 anddyhuaa

how to make it effect using new js file?

anddyhuaa avatar May 18 '17 05:05 anddyhuaa

Indeed those are colors out of the Airbnb palette.

To learn how to make your own build check out the CONTRIBUTING.md in the repo.

I wouldn't be against making this configurable and using d3's category20 by default instead

mistercrunch avatar May 18 '17 07:05 mistercrunch

Notice: this issue has been closed because it has been inactive for 339 days. Feel free to comment and request for this issue to be reopened.

mistercrunch avatar Apr 23 '18 07:04 mistercrunch