Skip to content

Commit

Permalink
feat: drawer close button
Browse files Browse the repository at this point in the history
  • Loading branch information
fcastrovilli committed May 2, 2024
1 parent 49f8ea9 commit c3496bd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/lib/settings.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
<script lang="ts">
import { synth_options, scale } from './store';
import { getDrawerStore } from '@skeletonlabs/skeleton';
const drawerStore = getDrawerStore();
const maxTime = 10;
</script>

<div class="flex flex-col gap-8 p-5">
<div class="flex justify-between items-center">
<h3 class="h3 font-semibold">Synth Settings</h3>
<button
on:click={() => drawerStore.close()}
class="btn btn-icon btn-icon-sm px-4 variant-outline">X</button
>
</div>
<div class="flex flex-col gap-2">
<label for="scale" class="capitalize font-semibold text-xl">Scale</label>
<input type="text" class="input p-2 px-4" id="scale" bind:value={$scale} />
Expand Down

0 comments on commit c3496bd

Please sign in to comment.