You've already forked dynamic-badges-action
Update index.js
Reduce the lightness from 50% to 40%.
This commit is contained in:
2
index.js
2
index.js
@@ -45,7 +45,7 @@ try {
|
|||||||
} else {
|
} else {
|
||||||
hue = Math.floor((max - val) / (max - min) * 120);
|
hue = Math.floor((max - val) / (max - min) * 120);
|
||||||
}
|
}
|
||||||
content.color = "hsl(" + hue + ", 100%, 50%)";
|
content.color = "hsl(" + hue + ", 100%, 40%)";
|
||||||
} else if (color != '') {
|
} else if (color != '') {
|
||||||
content.color = color;
|
content.color = color;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user