design: fix classvalue (#560)

This commit is contained in:
Xylight authored and GitHub committed 2025-06-09 20:57:55 -07:00
1 parent 76c581123a
commit 3d509a6e28
14 files changed
+106 -81

No files matched your search

@@ -1,6 +1,4 @@
<script lang="ts">
import { settings } from '$lib/settings.svelte'
interface Props {
pageHeader?: boolean
style?: string
@@ -28,8 +26,7 @@
{style}
>
<h1
class="text-3xl font-medium flex gap-2 w-full
{settings.font == 'satoshi/nunito' ? 'font-display' : ''} {clazz ?? ''}"
class="text-4xl flex gap-2 w-full tracking-tight font-medium {clazz ?? ''}"
>
{@render children?.()}
</h1>
@@ -41,6 +41,7 @@
class="font-normal block origin-left! border border-transparent dark:hover:bg-zinc-900 {!selected
? 'text-slate-600 dark:text-zinc-400'
: 'bg-slate-100 dark:bg-zinc-925'} {clazz}"
shadow="none"
>
{#snippet prefix()}
{#if customIcon}