From 180d7091b8018fa47eab0615423566724c281e84 Mon Sep 17 00:00:00 2001 From: James Date: Sat, 14 Feb 2026 02:58:28 -0500 Subject: [PATCH] Screaming red + glow for crit, blue for cold temp --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 5a7b1a9..1c4ff89 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,8 @@ canvas#clock { width: 180px; height: 180px; } #room-sensors .sensor-val { font-size: 26px; font-weight: 300; color: #e0ddd5; font-variant-numeric: tabular-nums; line-height: 1.1; } #room-sensors .sensor-label { font-size: 9px; color: #c8b273; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; } #room-sensors .sensor-val.warn { color: #d4a050; } -#room-sensors .sensor-val.crit { color: #c45; } +#room-sensors .sensor-val.crit { color: #ff2222; text-shadow: 0 0 8px rgba(255,34,34,0.6); } +#room-sensors .sensor-val.cold { color: #4488ff; text-shadow: 0 0 8px rgba(68,136,255,0.6); } /* Calendar */ #calendar { width: 100%; max-width: 280px; } @@ -376,7 +377,7 @@ async function updateSensors() { const tempEl = document.getElementById('s-temp'); tempEl.textContent = Math.round(tempF) + '°'; tempEl.title = tempC + '°C'; - tempEl.className = 'sensor-val' + (tempF < 73 || tempF > 76 ? ' crit' : ''); + tempEl.className = 'sensor-val' + (tempF < 73 ? ' cold' : tempF > 76 ? ' crit' : ''); const hum = parseFloat(d.humidity); const humEl = document.getElementById('s-hum');