From 60dfdb5361d1659c7ff2b36325aef08c2687f41b Mon Sep 17 00:00:00 2001 From: fraxle Date: Wed, 27 May 2026 20:40:27 +0100 Subject: [PATCH] 2.0.2 Day tabs whiter --- assets/js/components/DayTabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/components/DayTabs.js b/assets/js/components/DayTabs.js index 8030bf6..d54c5fc 100644 --- a/assets/js/components/DayTabs.js +++ b/assets/js/components/DayTabs.js @@ -52,7 +52,7 @@ const html = htm.bind(h); // Converts a base RGB colour into the same 135° gradient used by the thermal // bands legend: 50% white blend to pastelise, then a subtle light→dark sweep. function weatherGradient(r, g, b) { - const blend = (c) => Math.round(c + (255 - c) * 0.68); + const blend = (c) => Math.round(c + (255 - c) * 0.82); const [mr, mg, mb] = [blend(r), blend(g), blend(b)]; const lighten = (c) => Math.min(255, Math.round(c + (255 - c) * 0.30)); const darken = (c) => Math.round(c * 0.96);