Skip to content

Commit 97c66b8

Browse files
authored
fix(Versions): tune default color (#1719)
1 parent f6e79f2 commit 97c66b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/utils/versions/getVersionsColors.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export const hashCode = (s: string) => {
1212
// TODO: colors used in charts as well, need to move to constants
1313
// 11 distinct colors from https://mokole.com/palette.html
1414
export const COLORS = [
15+
'#008000', // green
1516
'#4169e1', // royalblue
1617
'#ffd700', // gold
1718
'#ff8c00', // darkorange
@@ -20,11 +21,11 @@ export const COLORS = [
2021
'#ff1493', // deeppink
2122
'#00bfff', // deepskyblue
2223
'#da70d6', // orchid
23-
'#3cb371', // mediumseagreen
24+
'#8b4513', //saddlebrown
2425
'#b22222', // firebrick
2526
];
2627

27-
export const DEFAULT_COLOR = '#008000'; // green
28+
export const DEFAULT_COLOR = '#3cb371'; // mediumseagreen
2829

2930
export const getVersionsMap = (versions: string[], initialMap: VersionsMap = new Map()) => {
3031
versions.forEach((version) => {

0 commit comments

Comments
 (0)