Skip to content

Commit

Permalink
Add lyftColor to the game 💯 (apache#4682)
Browse files Browse the repository at this point in the history
* add lyftColor to the game 💯

* fix json
  • Loading branch information
hughhhh authored and michellethomas committed May 23, 2018
1 parent 8a48783 commit f982360
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions superset/assets/backendSync.json
Original file line number Diff line number Diff line change
Expand Up @@ -2747,6 +2747,10 @@
[
"googleCategory20c",
"googleCategory20c"
],
[
"lyftColors",
"lyftColors"
]
],
"description": "The color scheme for rendering chart",
Expand Down
8 changes: 8 additions & 0 deletions superset/assets/javascripts/modules/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f982360

Please sign in to comment.