diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000..ef274fa91 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: tjbck diff --git a/src/app.html b/src/app.html index e5ed6aeb0..c2268851c 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 8669f97b7..2a388fd2c 100644 --- a/src/lib/components/chat/Messages.svelte +++ b/src/lib/components/chat/Messages.svelte @@ -1,7 +1,7 @@