~james/core

core/web/src/lib/components/settings/CodeChip.svelte -rw-r--r-- 390 bytes
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 15 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<script lang="ts">
	import type { Snippet } from "svelte";

	interface Props {
		class?: string;
		children: Snippet;
	}

	let { class: className, children }: Props = $props();
</script>

<span
	class="inline-flex items-center rounded-md bg-background-subtle px-xs py-3xs typography-monospace-regular font-normal text-foreground-default {className ??
		''}"
>
	{@render children()}
</span>