misc: Organize components

This commit is contained in:
Xyphyn committed 2023-07-03 12:35:49 -07:00
1 parent a5460a03b4
commit 7d3f29d9eb
17 files changed
+24 -22

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<script lang="ts">
import { Color } from '$lib/ui/colors.js'
export let color: Color = Color.secondary
export let href = ''
</script>
<a
{href}
class="px-2 py-1 rounded-md {color} flex flex-row items-center
justify-center text-sm transition-all"
>
<slot name="icon" />
<slot />
</a>