remove background on darkmode

i think im gonna remake darkmode because it breaks a lot of things
This commit is contained in:
Sevi 2024-11-30 02:24:14 -08:00
parent f6df8a4e24
commit f692535424

View File

@ -5,6 +5,7 @@ $(document).ready(function() {
const body = document.querySelector('body');
body.style.backgroundColor = '#141414';
body.style.color = '#f1f1f1';
document.body.style.backgroundImage= 'none';
const paragraphs = document.querySelectorAll('p');
paragraphs.forEach(function(p) {
p.style.color = '#f1f1f1';
@ -31,6 +32,7 @@ $(document).ready(function() {
const body = document.querySelector('body');
body.style.backgroundColor = '#f1f1f1';
body.style.color = 'black';
document.body.style.backgroundImage= "url('/images/snow1.jpg')";
const paragraphs = document.querySelectorAll('p');
paragraphs.forEach(function(p) {
p.style.color = 'black';