Add themes page

This commit is contained in:
Jon Staab
2024-08-14 16:25:36 -07:00
parent 66bb74fc32
commit 6c3bcac61f
15 changed files with 149 additions and 132 deletions
+3 -2
View File
@@ -10,6 +10,7 @@
import PrimaryNav from "@app/components/PrimaryNav.svelte"
import SecondaryNav from "@app/components/SecondaryNav.svelte"
import {modals, clearModal} from "@app/modal"
import {theme} from "@app/theme"
import {session, sessions, pk, repository} from "@app/base"
import {plaintext, relays, handles} from "@app/state"
import {initStorage} from "@app/storage"
@@ -59,9 +60,9 @@
</script>
{#await ready}
<div data-theme="dark" />
<div data-theme={$theme} />
{:then}
<div data-theme="dark">
<div data-theme={$theme}>
<div class="flex h-screen">
<PrimaryNav />
<SecondaryNav />