Update js/darkmode.js

This commit is contained in:
clashofclanselixircollector 2025-01-08 17:03:05 -08:00
parent c48ecd97dd
commit c4e740b332

View File

@ -41,7 +41,7 @@ $(document).ready(function() {
body.style.backgroundImage= "url('/images/grass-background.jpg')"; body.style.backgroundImage= "url('/images/grass-background.jpg')";
const paragraphs = document.querySelectorAll('p'); const paragraphs = document.querySelectorAll('p');
paragraphs.forEach(function(p) { paragraphs.forEach(function(p) {
p.style.color = 'gray'; p.style.color = 'black';
}); });
const headTwo = document.querySelector('h2'); const headTwo = document.querySelector('h2');
headTwo.style.color = 'black'; headTwo.style.color = 'black';