🍧 Updates imports to use barrel exports

This commit is contained in:
Rune Harlyk
2024-08-19 23:53:38 +02:00
parent 62fa5f79b6
commit 44fa0bd3e2
9 changed files with 15 additions and 22 deletions
@@ -0,0 +1,25 @@
<script lang="ts">
export let min = 0;
export let max = 100;
export let step = 1;
export let value = (max - min) / 2;
</script>
<input
type="range"
style="writing-mode: vertical-lr; direction: rtl"
class="cursor-pointer"
min={min}
max={max}
step={step}
bind:value
on:input
on:change
/>
<style>
input[type=range]::-webkit-slider-runnable-track {
background: oklch(var(--p)/1);
border-radius: var(--rounded-box, 1rem);
}
</style>