Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/docs/docs/api/Chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ Available color schemes:
- `categorical6`
- `categorical12`
- `categorical16`
- `categorical24`
- `divergentOrangeYellowSeafoam5`
- `divergentOrangeYellowSeafoam9`
- `divergentOrangeYellowSeafoam15`
Expand Down
12 changes: 12 additions & 0 deletions packages/themes/src/categoricalColorPalette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,15 @@ export const categorical16 = [
colors['categorical-1500'],
colors['categorical-1600'],
];

export const categorical24 = [
...categorical16,
colors['categorical-1700'],
colors['categorical-1800'],
colors['categorical-1900'],
colors['categorical-2000'],
colors['categorical-2100'],
colors['categorical-2200'],
colors['categorical-2300'],
colors['categorical-2400'],
];
16 changes: 16 additions & 0 deletions packages/themes/src/spectrumColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,14 @@ export const spectrumColors = {
'categorical-1400': 'rgb(192, 56, 204)',
'categorical-1500': 'rgb(245, 107, 183)',
'categorical-1600': 'rgb(255, 226, 46)',
'categorical-1700': 'rgb(18, 176, 218)',
'categorical-1800': 'rgb(255, 124, 101)',
'categorical-1900': 'rgb(189, 139, 252)',
'categorical-2000': 'rgb(47, 184, 128)',
'categorical-2100': 'rgb(89, 167, 246)',
'categorical-2200': 'rgb(39, 187, 54)',
'categorical-2300': 'rgb(237, 116, 237)',
'categorical-2400': 'rgb(135, 177, 3)',
},
dark: {
'gray-50': 'rgb(0, 0, 0)',
Expand Down Expand Up @@ -1056,5 +1064,13 @@ export const spectrumColors = {
'categorical-1400': 'rgb(192, 56, 204)',
'categorical-1500': 'rgb(245, 107, 183)',
'categorical-1600': 'rgb(255, 226, 46)',
'categorical-1700': 'rgb(18, 176, 218)',
'categorical-1800': 'rgb(255, 124, 101)',
'categorical-1900': 'rgb(189, 139, 252)',
'categorical-2000': 'rgb(47, 184, 128)',
'categorical-2100': 'rgb(89, 167, 246)',
'categorical-2200': 'rgb(39, 187, 54)',
'categorical-2300': 'rgb(237, 116, 237)',
'categorical-2400': 'rgb(135, 177, 3)',
},
};