Dark theme
This commit is contained in:
parent
ccfb32a05b
commit
998d4e683c
1 changed files with 9 additions and 3 deletions
12
picker.html
12
picker.html
|
@ -1,8 +1,14 @@
|
|||
<html>
|
||||
<style>
|
||||
body {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
button {
|
||||
margin-right: 20px;
|
||||
display: block;
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
tr {
|
||||
height: 30px;
|
||||
|
@ -74,7 +80,7 @@
|
|||
var ix = Math.floor(Math.random()*available.length);
|
||||
var elem = document.getElementById(id);
|
||||
elem.innerHTML = available[ix];
|
||||
elem.style.color = "black";
|
||||
elem.style.color = "white";
|
||||
}
|
||||
|
||||
function ignorem (id) {
|
||||
|
@ -96,7 +102,7 @@
|
|||
if (!ignored_pkmn.includes(to_ignore)) {
|
||||
ignored_pkmn[ignored_pkmn.length] = to_ignore;
|
||||
}
|
||||
elem.style.color = "black";
|
||||
elem.style.color = "white";
|
||||
}
|
||||
ignored_pkmn.sort();
|
||||
document.getElementById("ignored_pkmn").value = ignored_pkmn.join("\n");
|
||||
|
@ -106,7 +112,7 @@
|
|||
for (i=0; i<6; i++) {
|
||||
var elem = document.getElementById(i.toString());
|
||||
elem.innerHTML = "";
|
||||
elem.style.color = "black";
|
||||
elem.style.color = "white";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue