Update darkmode.js

This commit is contained in:
css pro 2024-10-01 11:11:36 -07:00 committed by GitHub
parent e63d0f34ac
commit 2ec3f49cd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
function dMode(){
var buttons = document.getElementsByTagName('button');
var body = document.body;
buttons.style.background-color("#13f4f3");
body.style.color("f1f1f1");
body.style.background-color("3c3c3c");
buttons.style.backgroundcolor="#13f4f3";
body.style.color="f1f1f1";
body.style.backgroundcolor="3c3c3c";
}