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