Skip to content

Commit

Permalink
feat: add labels to color scheme (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
khtruong authored and zhaoyongjie committed Nov 24, 2021
1 parent cb3c838 commit 369c6dc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import CategoricalScheme from '../../CategoricalScheme';
const schemes = [
{
id: 'bnbColors',
label: 'Airbnb Colors',
colors: [
'#ff5a5f', // rausch
'#7b0051', // hackb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import CategoricalScheme from '../../CategoricalScheme';
const schemes = [
{
id: 'd3Category10',
label: 'D3 Category 10',
colors: [
'#1f77b4',
'#ff7f0e',
Expand All @@ -20,6 +21,7 @@ const schemes = [
},
{
id: 'd3Category20',
label: 'D3 Category 20',
colors: [
'#1f77b4',
'#aec7e8',
Expand All @@ -45,6 +47,7 @@ const schemes = [
},
{
id: 'd3Category20b',
label: 'D3 Category 20b',
colors: [
'#393b79',
'#5254a3',
Expand All @@ -70,6 +73,7 @@ const schemes = [
},
{
id: 'd3Category20c',
label: 'D3 Category 20c',
colors: [
'#3182bd',
'#6baed6',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import CategoricalScheme from '../../CategoricalScheme';
const schemes = [
{
id: 'googleCategory10c',
label: 'Google Category 10c',
colors: [
'#3366cc',
'#dc3912',
Expand All @@ -20,6 +21,7 @@ const schemes = [
},
{
id: 'googleCategory20c',
label: 'Google Category 20c',
colors: [
'#3366cc',
'#dc3912',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import CategoricalScheme from '../../CategoricalScheme';
const schemes = [
{
id: 'lyftColors',
label: 'Lyft Colors',
colors: [
'#EA0B8C',
'#6C838E',
Expand Down

0 comments on commit 369c6dc

Please sign in to comment.