Update modeTheme.js

This commit is contained in:
Code Hangen 2022-12-14 22:02:44 -03:00 committed by GitHub
parent d033a3a891
commit 7688e1b7b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,10 @@
function modeTheme() {
var element = document.body;
element.classList.toggle("dark-mode");
document.getElementById("btn1").style.color = "white";
document.getElementById("btn2").style.color = "white";
document.getElementById("btn3").style.color = "white";
document.getElementById("btn4").style.color = "white";
document.getElementById("btn5").style.color = "white";
document.getElementById("btn6").style.color = "white";
}