This commit is contained in:
MeowcaTheoRange 2024-01-23 20:14:37 -06:00
parent 2099648300
commit 100ec476e1

View file

@ -14,8 +14,8 @@ var propagateStyles = propagateStyles ?? null;
const FONTS = [
["Lexend Deca", ""],
["Renogare"],
["OpenDyslexic"],
["Renogare", "Renogare"],
["OpenDyslexic", "OpenDyslexic"],
// ["Mojangles", "Minecraft"],
// ["Nintendo DS", "NDS12"],
[
@ -57,7 +57,7 @@ function createAccessibilityNodes() {
<select id="acc-font">
${FONTS.map(
([name, value]) =>
`<option value="${value ?? name}" selected>${name}</option>`
`<option value="${value}" selected>${name}</option>`
)}
</select>
</label><br />
@ -205,7 +205,7 @@ function initializeChanges(_, loading) {
}
let font = window.localStorage.getItem("acc-font");
if (font == null) {
window.localStorage.setItem("acc-font", "Lexend Deca");
window.localStorage.setItem("acc-font", "");
font = window.localStorage.getItem("acc-font");
}
let hueOver = window.localStorage.getItem("acc-hue-over");