feat: add ui components

This commit is contained in:
2026-08-27 20:57:34 +05:00
parent bc5a5d13c4
commit ac75665deb
13 changed files with 491 additions and 3 deletions
+20
View File
@@ -0,0 +1,20 @@
<script lang="ts">
import type { Snippet } from "svelte";
interface Props {
children: Snippet;
}
let { children }: Props = $props();
</script>
<section class="panel">
{@render children()}
</section>
<style>
.panel {
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--radius);
}
</style>