améliorer background
Deploy CoqGames / deploy (push) Successful in 5s

This commit is contained in:
2026-05-22 23:07:28 +00:00
parent 87c652348e
commit be653ec20c
+1 -1
View File
@@ -309,7 +309,7 @@
if (b.y > canvas.height + b.r) b.y = -b.r;
b.hue = (b.hue + 0.05) % 360;
const alpha = isDark() ? 0.07 : 0.06;
const alpha = isDark() ? 0.18 : 0.14;
const grad = ctx.createRadialGradient(b.x, b.y, 0, b.x, b.y, b.r);
grad.addColorStop(0, `hsla(${b.hue}, 70%, ${isDark() ? 60 : 50}%, ${alpha})`);
grad.addColorStop(1, `hsla(${b.hue}, 70%, ${isDark() ? 60 : 50}%, 0)`);