Update darkmode.js
This commit is contained in:
parent
45af5c3fcb
commit
dfdd30d46f
@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
function dMode(){
|
function dMode(){
|
||||||
var body = document.body;
|
document.button.style.background-color("#13f4f3")
|
||||||
body.classList.toggle("darkBody");
|
document.body.style.color("f1f1f1")
|
||||||
var button = document.button;
|
document.body.style.background-color("3c3c3c")
|
||||||
button.classList.toggle("darkButton");
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user