Also change label colour

This commit is contained in:
Alexander Wainwright
2025-12-18 18:10:31 +10:00
parent 4da714e4b9
commit 6ef65c87a0

View File

@@ -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';