diff --git a/frontend/src/lib/components/Button.svelte b/frontend/src/lib/components/Button.svelte index 42c9fa4..66c7d2b 100644 --- a/frontend/src/lib/components/Button.svelte +++ b/frontend/src/lib/components/Button.svelte @@ -1,6 +1,6 @@ @@ -16,7 +22,7 @@ {#each notices.list as notice (notice.id)}
-
{icon(notice.type)}
+
{@html icon(notice.type)}

{notice.title}

{#if notice.message} @@ -73,6 +79,14 @@ font-size: 1.1rem; flex-shrink: 0; } + .notice-icon :global(svg) { + width: 1.25rem; + height: 1.25rem; + } + .notice-success .notice-icon { color: #059669; } + .notice-warning .notice-icon { color: #d97706; } + .notice-error .notice-icon { color: #dc2626; } + .notice-info .notice-icon { color: #6366f1; } .notice-text h4 { margin: 0 0 0.25rem; font-size: 0.9rem; diff --git a/frontend/src/lib/components/PricingPlans.svelte b/frontend/src/lib/components/PricingPlans.svelte index cea8561..1266aca 100644 --- a/frontend/src/lib/components/PricingPlans.svelte +++ b/frontend/src/lib/components/PricingPlans.svelte @@ -1,5 +1,6 @@