From 6ef65c87a0a85d713a94a610674c39ce6704c19e Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Thu, 18 Dec 2025 18:10:31 +1000 Subject: [PATCH] Also change label colour --- script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script.js b/script.js index 4c6c3ec..106a2df 100644 --- a/script.js +++ b/script.js @@ -128,9 +128,11 @@ document.addEventListener('DOMContentLoaded', () => { if (usage > 90) { capBar.style.backgroundColor = 'red'; capText.style.color = 'red'; + capLabel.style.color = 'red'; } else { capBar.style.backgroundColor = '#000'; capText.style.color = '#000'; + capLabel.style.color = '#000'; } } else { capMeter.style.display = 'none';