Skip to content

Commit 48e477b

Browse files
SaMnCothisisshi
authored andcommitted
feat: replace default auto colors by range of Stacklet Colors (#39)
1 parent b23e9c6 commit 48e477b

1 file changed

Lines changed: 28 additions & 14 deletions

File tree

viz-lib/src/visualizations/ColorPalette.ts

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,38 @@ import { values } from "lodash";
22

33
// The following colors will be used if you pick "Automatic" color
44
export const BaseColors = {
5-
Blue: "#356AFF",
6-
Red: "#E92828",
7-
Green: "#3BD973",
8-
Purple: "#604FE9",
9-
Cyan: "#50F5ED",
10-
Orange: "#FB8D3D",
11-
"Light Blue": "#799CFF",
12-
Lilac: "#B554FF",
13-
"Light Green": "#8CFFB4",
14-
Brown: "#A55F2A",
15-
Black: "#000000",
16-
Gray: "#494949",
17-
Pink: "#FF7DE3",
18-
"Dark Blue": "#002FB4",
5+
"Stacklet 1": "#70ACC3",
6+
"Stacklet 2": "#212B36",
7+
"Stacklet 3": "#38A169",
8+
"Stacklet 4": "#1177BB",
9+
"Stacklet 5": "#E53E3E",
10+
"Stacklet 6": "#F6E05E",
11+
"Stacklet 7": "#AC9D42",
12+
"Stacklet 8": "#A02B2B",
13+
"Stacklet 9": "#27714A",
14+
"Stacklet 10": "#245F77",
15+
"Stacklet 11": "#A9A6A3",
16+
"Stacklet 12": "#6D2E17",
17+
"Stacklet 13": "#C96F42",
18+
"Stacklet 14": "#D38964",
1919
};
2020

2121
// Additional colors for the user to choose from
2222
export const AdditionalColors = {
23+
"Blue": "#356AFF",
24+
"Red": "#E92828",
25+
"Green": "#3BD973",
26+
"Purple": "#604FE9",
27+
"Cyan": "#50F5ED",
28+
"Orange": "#FB8D3D",
29+
"Light Blue": "#799CFF",
30+
"Lilac": "#B554FF",
31+
"Light Green": "#8CFFB4",
32+
"Brown": "#A55F2A",
33+
"Black": "#000000",
34+
"Gray": "#494949",
35+
"Pink": "#FF7DE3",
36+
"Dark Blue": "#002FB4",
2337
"Indian Red": "#981717",
2438
"Green 2": "#17BF51",
2539
"Green 3": "#049235",

0 commit comments

Comments
 (0)