You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/03/24 01:02:32 UTC

[incubator-superset] branch master updated: Add lyftColor to the game 💯 (#4682)

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 <hu...@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.