feat: switch from card to material
This commit is contained in:
1 parent
43b0e87ebf
commit
c53ec52d86
16 files changed
+61
-126
No files matched your search
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import Card from '$lib/components/ui/Card.svelte'
|
||||
import { Material } from 'mono-svelte'
|
||||
</script>
|
||||
|
||||
<Card class="flex flex-col gap-3 p-5 text-sm my-2">
|
||||
<Material padding="lg" class="flex flex-col gap-3 my-2">
|
||||
<h1 class="font-bold"><slot name="title" /></h1>
|
||||
{#if $$slots.description}
|
||||
<p class="text-slate-700 dark:text-zinc-300">
|
||||
@@ -10,4 +10,4 @@
|
||||
</p>
|
||||
{/if}
|
||||
<slot />
|
||||
</Card>
|
||||
</Material>
|
||||
Reference in new issue
Block a user