making dark mode text readable for real this time

This commit is contained in:
clashofclanselixircollector 2024-12-11 10:11:46 -08:00
parent e5385d41b5
commit 86d6adfca8

View File

@ -32,6 +32,8 @@ $(document).ready(function() {
});
const dZone = document.querySelector('.danger-zone');
dZone.style.color = '#ff6847';
const dZoneText = document.querySelector('.modal-content')
dZoneText.style.p.color = '#ff3c00';
} else {
const body = document.querySelector('body');
body.style.backgroundColor = '#f1f1f1';
@ -63,6 +65,8 @@ $(document).ready(function() {
});
const dZone = document.querySelector('.danger-zone');
dZone.style.color = '#010101';
const dZoneText = document.querySelector('.modal-content')
dZoneText.style.p.color = '#010101';
}
}
$("#darkModeCheckbox").on("change", function() {