diff --git a/src/app.html b/src/app.html index a71d5ff4c..3248fd447 100644 --- a/src/app.html +++ b/src/app.html @@ -32,6 +32,9 @@ } else if (localStorage.theme && localStorage.theme === 'system') { systemTheme = window.matchMedia('(prefers-color-scheme: dark)').matches; document.documentElement.classList.add(systemTheme ? 'dark' : 'light'); + } else if (localStorage.theme && localStorage.theme === 'her') { + document.documentElement.classList.add('dark'); + document.documentElement.classList.add('her'); } else { document.documentElement.classList.add('dark'); } @@ -68,17 +71,66 @@ + + +
+ + + @@ -101,4 +153,37 @@ html.dark #splash-screen img { filter: invert(1); } + + html.her #splash-screen { + background: #983724; + } + + #logo-her { + display: none; + } + + #progress-background { + display: none; + } + + #progress-bar { + display: none; + } + + html.her #logo { + display: none; + } + + html.her #logo-her { + display: block; + filter: invert(1); + } + + html.her #progress-background { + display: block; + } + + html.her #progress-bar { + display: block; + } diff --git a/src/lib/components/chat/Settings/General.svelte b/src/lib/components/chat/Settings/General.svelte index 27dc6427e..5b6ecfa1c 100644 --- a/src/lib/components/chat/Settings/General.svelte +++ b/src/lib/components/chat/Settings/General.svelte @@ -140,6 +140,7 @@ + diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 61cef212a..c8e31b6c8 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,5 +1,8 @@