Restructure
New Journal entries
Colour tabs update with wind
This commit is contained in:
fraxle
2026-08-31 15:12:45 +01:00
parent 47818fba33
commit 71860b9dd9
40 changed files with 3430 additions and 443 deletions
+11
View File
@@ -41,7 +41,18 @@ const html = htm.bind(h);
// ── COLOUR SCALE ────────────────────────────────────────────────────────
// Continuous temperature colour scale — shared by every temperature column
// and by the thermal-stress legend in app.js.
// Anchored to match the day tabs' band ramp at the cold end: -30 is the
// Extreme cold anchor, -20 the Arctic one and -10 the Freezing one, the same
// three points bandRampRgb() uses (see BAND COLOUR RAMP in utils.js). The
// scale used to stop at -10, so every reading below it clamped to one flat
// blue — Invercargill at -28 C coloured identically to -10 C in the table,
// and the whole Arctic and Extreme cold range was invisible in Quick,
// Detailed and Table alike. Pet columns inherit the fix for free: they route
// through petEquivHumanTemp(), which already maps pet -28/-18 onto human
// -20/-10 but had nothing to look up down there.
export const TEMP_STOPS = [
[-30, [125, 80, 180]],
[-20, [ 85, 125, 205]],
[-10, [ 90, 155, 220]],
[ 0, [140, 195, 235]],
[ 10, [155, 215, 195]],