Skip to content

Commit d3a2740

Browse files
color scheme change
1 parent 8c6d3c9 commit d3a2740

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/components/Graphs/graphUtils.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,23 @@ export const resolveProviderType = (configName: string, providerConfigsList: Pro
2626
};
2727

2828
export const generateColorMap = (items: NodeData[], colorBy: string): Record<string, string> => {
29-
const colors = ['#E09D00', '#e269c9', '#AB218E', '#678BC7', '#1A9898', '#759421', '#925ACE', '#647987'];
29+
const colors = [
30+
"#FFC933", // MANGO 4
31+
"#FF8AF0", // PINK 4
32+
"#FEADC8", // RASPBERRY 4
33+
"#2CE0BF", // TEAL 4
34+
"#FF8CB2", // RED 4
35+
"#B894FF", // INDIGO 4
36+
"#049F9A", // TEAL 6
37+
"#FA4F96", // RASPBERRY 6
38+
"#F31DED", // PINK 6
39+
"#7858FF", // INDIGO 6
40+
"#07838F", // TEAL 7
41+
"#DF1278", // RASBERRY 7
42+
"#510080", // PINK 10
43+
"#5D36FF", // INDIGO 7
44+
];
45+
3046

3147
const keys = (() => {
3248
if (colorBy === 'source') return Array.from(new Set(items.map((i) => i.providerType).filter(Boolean)));

0 commit comments

Comments
 (0)