feat: user themes

[deploy]
This commit is contained in:
2023-07-23 23:01:21 +02:00
parent 5cdf969c6d
commit 7df75e109d
5 changed files with 75 additions and 6 deletions

View File

@@ -9,6 +9,7 @@
import {canAutoConnect} from "$lib/serial/device"
import {browser} from "$app/environment"
import {userPreferences} from "$lib/preferences"
import Theme from "./Theme.svelte"
const training = [
{slug: "cpm", title: "CPM - Characters Per Minute", icon: "music_note"},
@@ -70,6 +71,7 @@
>
cable
</button>
<button title="Theme" use:popup={Theme} class="icon">format_paint</button>
<a href="/stats/" title="Statistics" class="icon account">person</a>
</div>
</nav>