This commit is contained in:
vcoppe
2025-06-21 21:07:36 +02:00
parent f0230d4634
commit 1cc07901f6
803 changed files with 7937 additions and 6329 deletions

View File

@@ -1,5 +1,7 @@
<script lang="ts">
export let type: 'note' | 'warning' = 'note';
import type { Snippet } from 'svelte';
let { type = 'note', children }: { type?: 'note' | 'warning'; children: Snippet } = $props();
</script>
<div
@@ -7,10 +9,12 @@
? 'border-link'
: 'border-destructive'} p-2 text-sm rounded-md"
>
<slot />
{@render children()}
</div>
<style lang="postcss">
@reference "../../../app.css";
div :global(a) {
@apply text-link;
@apply hover:underline;