feat: did some stuff

This commit is contained in:
2024-04-05 18:03:23 +02:00
parent 8035b26750
commit b3780fdf96
34 changed files with 355 additions and 54 deletions

View File

@ -17,5 +17,5 @@
{:else if input.type === "boolean"}
<Checkbox bind:value />
{:else if input.type === "select"}
<Select labels={input.labels} bind:value />
<Select bind:value labels={input.labels} />
{/if}

View File

@ -7,3 +7,13 @@
<input type="number" bind:value {min} {max} {step} />
<style>
input {
background: var(--background-color-lighter);
color: var(--text-color);
font-family: var(--font-family);
padding: 0.8em 1em;
border-radius: 5px;
border: none;
}
</style>