From f982360191838de31b7ec5b1803343b3dec0dd84 Mon Sep 17 00:00:00 2001 From: "Hugh A. Miles II" Date: Fri, 23 Mar 2018 18:02:29 -0700 Subject: [PATCH] =?UTF-8?q?Add=20lyftColor=20to=20the=20game=20?= =?UTF-8?q?=F0=9F=92=AF=20(#4682)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add lyftColor to the game 💯 * fix json --- superset/assets/backendSync.json | 4 ++++ superset/assets/javascripts/modules/colors.js | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/superset/assets/backendSync.json b/superset/assets/backendSync.json index 9e1ce4cd893bd..9145cc98175c7 100644 --- a/superset/assets/backendSync.json +++ b/superset/assets/backendSync.json @@ -2747,6 +2747,10 @@ [ "googleCategory20c", "googleCategory20c" + ], + [ + "lyftColors", + "lyftColors" ] ], "description": "The color scheme for rendering chart", diff --git a/superset/assets/javascripts/modules/colors.js b/superset/assets/javascripts/modules/colors.js index f2bba3b5a6ab8..909a8bf0d8023 100644 --- a/superset/assets/javascripts/modules/colors.js +++ b/superset/assets/javascripts/modules/colors.js @@ -27,6 +27,14 @@ export const bnbColors = [ '#b37e00', '#988b4e', ]; + +export const lyftColors = [ + '#ff00bf', // pink + '#352384', // purple + '#333447', // carbon + '#f3f3f5', // silver +]; + const d3Category10 = d3.scale.category10().range(); const d3Category20 = d3.scale.category20().range(); const d3Category20b = d3.scale.category20b().range();