diff --git a/404.html b/404.html index 9a0aed3..12746e6 100644 --- a/404.html +++ b/404.html @@ -6,6 +6,7 @@ Page Not Found + diff --git a/about.html b/about.html index 8300570..72eadfe 100644 --- a/about.html +++ b/about.html @@ -6,6 +6,7 @@ About – Lars Winter + diff --git a/css/a11y.css b/css/a11y.css new file mode 100644 index 0000000..a247d75 --- /dev/null +++ b/css/a11y.css @@ -0,0 +1,3 @@ +body { + background: red; +} \ No newline at end of file diff --git a/js/app.js b/js/app.js index dd22d27..6b59143 100644 --- a/js/app.js +++ b/js/app.js @@ -58,8 +58,10 @@ } }); -// accessibility toggle +// accessibility toggle + +{ const STORAGE_KEY = 'extra-css-enabled'; function applyOverrideState(enabled) { @@ -79,9 +81,12 @@ localStorage.setItem(STORAGE_KEY, String(nextState)); applyOverrideState(nextState); }); +} + // light-dark toggle +{ const STORAGE_KEY = 'theme-preference'; const root = document.documentElement; const mq = window.matchMedia('(prefers-color-scheme: dark)'); @@ -150,4 +155,5 @@ document.addEventListener('DOMContentLoaded', initThemeToggle); } else { initThemeToggle(); - } \ No newline at end of file + } +} \ No newline at end of file diff --git a/legal-notice.html b/legal-notice.html index 6a1e64f..40d011d 100644 --- a/legal-notice.html +++ b/legal-notice.html @@ -6,6 +6,7 @@ Lars Winter + diff --git a/privacy.html b/privacy.html index be595f9..dcf6175 100644 --- a/privacy.html +++ b/privacy.html @@ -6,6 +6,7 @@ Lars Winter +