5.4.0
Restructure New Journal entries Colour tabs update with wind
This commit is contained in:
@@ -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]],
|
||||
|
||||
Reference in New Issue
Block a user