1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-12 19:40:12 +00:00

fix: use same color as title for description in alert

This commit is contained in:
Elias Schneider
2025-05-24 22:32:41 +02:00
parent cbe7aa6eec
commit e19b33fc2e

View File

@@ -1,6 +1,6 @@
<script lang="ts"> <script lang="ts">
import type { HTMLAttributes } from 'svelte/elements';
import { cn, type WithElementRef } from '$lib/utils/style.js'; import { cn, type WithElementRef } from '$lib/utils/style.js';
import type { HTMLAttributes } from 'svelte/elements';
let { let {
ref = $bindable(null), ref = $bindable(null),
@@ -13,10 +13,7 @@
<div <div
bind:this={ref} bind:this={ref}
data-slot="alert-description" data-slot="alert-description"
class={cn( class={cn('col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed', className)}
'text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed',
className
)}
{...restProps} {...restProps}
> >
{@render children?.()} {@render children?.()}