From 38b1babb974dc943d21e358c6ff63c993d747f6b Mon Sep 17 00:00:00 2001 From: julian laplace Date: Tue, 15 Jul 2025 14:49:01 +0200 Subject: edit copy --- client/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'client/index.js') diff --git a/client/index.js b/client/index.js index a50208c..8c53cb6 100644 --- a/client/index.js +++ b/client/index.js @@ -528,7 +528,12 @@ function bindRoot() { }).forEach(([key, fn], index) => { const el = document.querySelector(`.root-select .${key}`); el.addEventListener("click", fn); - el.style.background = color(Math.pow(2, index / 12), 0, 1.6); + el.style.background = color( + Math.pow(2, index / 12), + key.length === 6 ? 0 : -0.15, + key.length === 6 ? 0.95 : 0.4, + 1, + ); }); } -- cgit v1.2.3-70-g09d2