Finish up new index page and improve accessibility
This commit is contained in:
parent
e3d1f6999b
commit
403ae18b6e
23 changed files with 304 additions and 185 deletions
|
|
@ -12,7 +12,7 @@
|
|||
}
|
||||
document.querySelectorAll<HTMLElementTagNameMap["button"]>("button[data-dark-mode]").forEach((button) => {
|
||||
button.classList.remove("hidden");
|
||||
button.removeAttribute("aria-hidden");
|
||||
button.setAttribute("aria-hidden", "false");
|
||||
button.addEventListener("click", (e) => {
|
||||
e.preventDefault();
|
||||
if (colorScheme === "dark") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue