Update darkmode.js
This commit is contained in:
parent
632129db36
commit
a0ecacdaab
@ -1,7 +1,15 @@
|
||||
function dMode(){
|
||||
var buttons = document.getElementsByTagName('button');
|
||||
console.log("heck yeah");
|
||||
var inputs = document.getElementsByTagName('input');
|
||||
var body = document.body;
|
||||
buttons.style.backgroundcolor="#13f4f3";
|
||||
|
||||
body.style.color="f1f1f1";
|
||||
body.style.backgroundcolor="3c3c3c";
|
||||
body.style.backgroundColor="3c3c3c";
|
||||
|
||||
for(var i=0; i<inputs.length; i++){
|
||||
if(inputs[i].getAttribute('type')=='button'){
|
||||
buttons.style.backgroundcolor="#13f4f3";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user