superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Add lyftColor to the game 💯 (#4682)
Date Sat, 24 Mar 2018 01:02:32 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 9abc5c7  Add lyftColor to the game 💯 (#4682)
9abc5c7 is described below

commit 9abc5c724ff878ca92edce3e074ce6a4d9ea60b9
Author: Hugh A. Miles II <hughmil3s@gmail.com>
AuthorDate: Fri Mar 23 18:02:29 2018 -0700

    Add lyftColor to the game 💯 (#4682)
    
    * 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 9e1ce4c..9145cc9 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 f2bba3b..909a8bf 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();

-- 
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.

Mime
View raw message