misc: design tweaks

This commit is contained in:
Xyphyn committed 2023-08-07 15:05:45 -07:00
1 parent 51344294ff
commit c922d5e143
6 files changed
+20 -19

No files matched your search

+3 -3
View File
@@ -1,12 +1,12 @@
<div
class="text-slate-600 dark:text-zinc-400 flex flex-col justify-center items-center"
class="text-slate-600 dark:text-zinc-400 flex flex-col justify-center items-center gap-1"
>
<slot name="icon" />
{#if $$slots.title}
<h1 class="font-bold text-2xl"><slot name="title" /></h1>
<h1 class="font-bold text-3xl"><slot name="title" /></h1>
{/if}
{#if $$slots.description}
<p><slot name="description" /></p>
<p class="text-lg"><slot name="description" /></p>
{/if}
<slot name="action" />
</div>