feat: extract graph-interface into seperate package

This commit is contained in:
2024-04-10 15:40:01 +02:00
parent 404fcbfe39
commit 2ed1501747
93 changed files with 2193 additions and 1788 deletions

View File

@@ -0,0 +1,21 @@
<script lang="ts">
export let labels: string[] = [];
export let value: number = 0;
</script>
<select bind:value>
{#each labels as label, i}
<option value={i}>{label}</option>
{/each}
</select>
<style>
select {
background: var(--background-color-lighter);
color: var(--text-color);
font-family: var(--font-family);
padding: 0.8em 1em;
border-radius: 5px;
border: none;
}
</style>