feat(settings): add custom theme selector

This commit is contained in:
sethburkart123
2024-09-08 21:51:14 +10:00
parent 272deb2b8c
commit fdeea2f626
16 changed files with 224 additions and 40 deletions
@@ -1,5 +1,6 @@
<script lang="ts">
import BackgroundSelector from "@/svelte-interface/components/themes/BackgroundSelector.svelte"
import ThemeSelector from "@/svelte-interface/components/themes/ThemeSelector.svelte"
// backgrounds
let selectedBackground = $state<string | null>(null);
@@ -16,4 +17,5 @@
{ clearTheme ? 'Clear Theme' : 'Select Theme' }
</button>
<BackgroundSelector isEditMode={editMode} bind:selectedBackground={selectedBackground} bind:selectNoBackground={selectNoBackground} />
<ThemeSelector isEditMode={editMode} />
</div>