Update darkmode.js

This commit is contained in:
css pro 2024-10-01 10:56:26 -07:00 committed by GitHub
parent f6ad4d1059
commit ff042af289
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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