Skip to content

Commit

Permalink
fix(Versions): tune default color (#1719)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raubzeug authored Nov 28, 2024
1 parent f6e79f2 commit 97c66b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils/versions/getVersionsColors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const hashCode = (s: string) => {
// TODO: colors used in charts as well, need to move to constants
// 11 distinct colors from https://mokole.com/palette.html
export const COLORS = [
'#008000', // green
'#4169e1', // royalblue
'#ffd700', // gold
'#ff8c00', // darkorange
Expand All @@ -20,11 +21,11 @@ export const COLORS = [
'#ff1493', // deeppink
'#00bfff', // deepskyblue
'#da70d6', // orchid
'#3cb371', // mediumseagreen
'#8b4513', //saddlebrown
'#b22222', // firebrick
];

export const DEFAULT_COLOR = '#008000'; // green
export const DEFAULT_COLOR = '#3cb371'; // mediumseagreen

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

0 comments on commit 97c66b8

Please sign in to comment.