diff options
Diffstat (limited to 'client/index.js')
| -rw-r--r-- | client/index.js | 7 |
1 files changed, 6 insertions, 1 deletions
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, + ); }); } |
