diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..ef274fa9 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: tjbck diff --git a/src/app.html b/src/app.html index e5ed6aeb..c2268851 100644 --- a/src/app.html +++ b/src/app.html @@ -12,8 +12,11 @@ (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: light)').matches) ) { document.documentElement.classList.add('light'); + } else if (localStorage.theme === 'dark') { + document.documentElement.classList.add('dark'); } else { document.documentElement.classList.add('dark'); + document.documentElement.classList.add(localStorage.theme); } diff --git a/src/lib/components/chat/Messages.svelte b/src/lib/components/chat/Messages.svelte index 8669f97b..2a388fd2 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -1,7 +1,7 @@