Ignore dark mode and set dyslexia-friendly mode.

This commit is contained in:
Benjamin A. Shelton 2026-11-25 23:01:18 -07:00
commit 57c67a3590
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -104,6 +104,13 @@ class ThemeToggler {
return; return;
} }
} }
if (localStorage.af_enabled === '1') {
if (localStorage.af_mode === 'df') {
ele.classList.remove('dark');
ele.classList.add('df');
}
return;
}
switch (localStorage.theme) { switch (localStorage.theme) {
case 'light': case 'light':
ele.classList.remove('dark'); ele.classList.remove('dark');