refactor: update panel component

This commit is contained in:
2026-09-02 19:33:34 +05:00
parent 991fe69381
commit 2f758a88af
5 changed files with 7 additions and 7 deletions
@@ -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(--color-panel);
border: var(--size-border) solid var(--color-border);
border-radius: var(--radius-s);
}
</style>