Skip to content

Commit

Permalink
Fix up the Lyft color scheme
Browse files Browse the repository at this point in the history
Previous color scheme had too few colors, some with light tones
and wasn't hooked up to the array.
  • Loading branch information
mistercrunch committed Mar 24, 2018
1 parent 9abc5c7 commit ade5670
Showing 1 changed file with 11 additions and 4 deletions.
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

0 comments on commit ade5670

Please sign in to comment.