Update modeTheme.js
This commit is contained in:
parent
d033a3a891
commit
7688e1b7b9
1 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,10 @@
|
||||||
function modeTheme() {
|
function modeTheme() {
|
||||||
var element = document.body;
|
var element = document.body;
|
||||||
element.classList.toggle("dark-mode");
|
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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue