misc: Organize components
This commit is contained in:
1 parent
a5460a03b4
commit
7d3f29d9eb
17 files changed
+24
-22
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user