This commit is contained in:
Jesse Winton
2025-04-04 10:33:12 -04:00
parent 6ffb6a03bc
commit 801176923c
4 changed files with 25 additions and 28 deletions

View File

@@ -2,8 +2,9 @@
import { type Theme, currentTheme } from '$routes/+layout.svelte';
import Select, { type SelectOption } from './Select.svelte';
import { Select as S } from '$lib/components/ui';
const options: SelectOption<Theme>[] = [
const options = [
{
value: 'dark',
label: 'Dark',
@@ -23,3 +24,4 @@
</script>
<Select {options} bind:value={$currentTheme} placement="top" />
<S {options} bind:value={$currentTheme} />