feat(#48): Add dark mode

This commit is contained in:
Josh Creek
2026-01-10 21:12:25 +00:00
parent ad66b874e9
commit d50417ffef
7 changed files with 158 additions and 57 deletions
+2
View File
@@ -5,6 +5,7 @@
import { type User } from '@supabase/auth-js';
import SignIn from '$lib/components/SignIn.svelte';
import SignOut from '$lib/components/SignOut.svelte';
import ThemeToggle from '$lib/components/ThemeToggle.svelte';
import { pwaInfo } from 'virtual:pwa-info';
import { pwaAssetsHead } from 'virtual:pwa-assets/head';
@@ -137,6 +138,7 @@
<a class="btn btn-ghost text-xl" href="/">Living Dex Tracker</a>
</div>
<div class="navbar-end">
<ThemeToggle />
<div class="dropdown dropdown-end">
{#if localUser}
<div tabindex="0" role="button" class="btn btn-ghost btn-circle avatar">