Files
nodarium/packages/ui/src/lib/helpers/StorySettings.svelte
Max Richter 26d3f6a2f1
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 2m35s
fix: gravity node
2024-05-02 18:49:08 +02:00

24 lines
457 B
Svelte

<script lang="ts">
import { Select } from '$lib/index.js';
const themes = ['dark', 'light', 'catppuccin', 'solarized', 'high-contrast', 'nord', 'dracula'];
let value = 0;
export let theme = themes[value];
$: theme = themes[value];
</script>
<div>
<label for="theme-select"> Select Theme </label>
<Select id="" bind:value options={themes} />
</div>
<style>
div {
display: flex;
flex-direction: column;
gap: 1em;
padding: 1em;
}
</style>