Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up the Lyft color scheme #4684

Merged
merged 1 commit into from
Mar 26, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions superset/assets/javascripts/modules/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,16 @@ export const bnbColors = [
];

export const lyftColors = [
'#ff00bf', // pink
'#352384', // purple
'#333447', // carbon
'#f3f3f5', // silver
'#EA0B8C',
'#6C838E',
'#29ABE2',
'#33D9C1',
'#9DACB9',
'#7560AA',
'#2D5584',
'#831C4A',
'#333D47',
'#AC2077',
];

const d3Category10 = d3.scale.category10().range();
Expand Down Expand Up @@ -81,6 +87,7 @@ export const ALL_COLOR_SCHEMES = {
d3Category20c,
googleCategory10c,
googleCategory20c,
lyftColors,
};

export const spectrums = {
Expand Down