From ade5670170e70d2938dba76a5e7e9180c6434baf Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Fri, 23 Mar 2018 19:02:24 -0700 Subject: [PATCH] Fix up the Lyft color scheme Previous color scheme had too few colors, some with light tones and wasn't hooked up to the array. --- superset/assets/javascripts/modules/colors.js | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/superset/assets/javascripts/modules/colors.js b/superset/assets/javascripts/modules/colors.js index 909a8bf0d8023..1cd2b538bc2c5 100644 --- a/superset/assets/javascripts/modules/colors.js +++ b/superset/assets/javascripts/modules/colors.js @@ -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(); @@ -81,6 +87,7 @@ export const ALL_COLOR_SCHEMES = { d3Category20c, googleCategory10c, googleCategory20c, + lyftColors, }; export const spectrums = {