Skip to content

Commit 819b9d8

Browse files
committed
fix(Versions): tune default color
1 parent 6e1e701 commit 819b9d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/versions/getVersionsColors.ts

Lines changed: 2 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,10 @@ export const COLORS = [
2021
'#ff1493', // deeppink
2122
'#00bfff', // deepskyblue
2223
'#da70d6', // orchid
23-
'#3cb371', // mediumseagreen
2424
'#b22222', // firebrick
2525
];
2626

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

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

0 commit comments

Comments
 (0)