fix theming toggle bug
This commit is contained in:
parent
ea16c3ee91
commit
0efd2b41f1
@ -35,7 +35,6 @@ h1 {
|
|||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
@ -357,7 +357,7 @@ class ThemeToggler extends HTMLAnchorElement {
|
|||||||
$("#about").style.backgroundColor = "black";
|
$("#about").style.backgroundColor = "black";
|
||||||
$("#about").style.color = "white";
|
$("#about").style.color = "white";
|
||||||
$("h1").style.backgroundColor = "black";
|
$("h1").style.backgroundColor = "black";
|
||||||
$(".controls form").style.backgroundColor = "black";
|
$(".controls label").style.backgroundColor = "black";
|
||||||
$(".corner").style.backgroundColor = "black";
|
$(".corner").style.backgroundColor = "black";
|
||||||
$(".corner .bordered").style.border = "1px solid white";
|
$(".corner .bordered").style.border = "1px solid white";
|
||||||
$$("a").forEach((e) => { e.style.color = "white" });
|
$$("a").forEach((e) => { e.style.color = "white" });
|
||||||
@ -369,7 +369,7 @@ class ThemeToggler extends HTMLAnchorElement {
|
|||||||
$("#about").style.backgroundColor = "white";
|
$("#about").style.backgroundColor = "white";
|
||||||
$("#about").style.color = "black";
|
$("#about").style.color = "black";
|
||||||
$(".main").style.backgroundColor = "white";
|
$(".main").style.backgroundColor = "white";
|
||||||
$(".controls form").style.backgroundColor = "white";
|
$(".controls label").style.backgroundColor = "white";
|
||||||
$("h1").style.backgroundColor = "white";
|
$("h1").style.backgroundColor = "white";
|
||||||
$(".corner").style.backgroundColor = "white";
|
$(".corner").style.backgroundColor = "white";
|
||||||
$(".corner .bordered").style.border = "1px solid black";
|
$(".corner .bordered").style.border = "1px solid black";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user