Update js/darkmode.js

This commit is contained in:
clashofclanselixircollector 2024-12-11 17:46:59 -08:00
parent bcc513ef4d
commit 63ac392dd0

View File

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