review theme

This commit is contained in:
Anaïs Saraiva
2026-08-25 12:24:40 +02:00
parent abf8736fdd
commit b1b4f03814
12 changed files with 124 additions and 184 deletions
+5 -5
View File
@@ -27,13 +27,13 @@
</script>
{#if visible}
<div class="fixed bottom-5 left-1/2 z-50 -translate-x-1/2 px-4" transition:fly={{ y: 12, duration: 180 }}>
<div class="fixed bottom-5 left-1/2 z-50 -translate-x-1/2 px-4" transition:fly={{ y: 8, duration: 160 }}>
<div
class="rounded-xl border px-4 py-3 text-sm shadow-2xl backdrop-blur-md {kind === 'error'
? 'border-danger/40 bg-danger/15 text-danger'
class="rounded-md border px-4 py-2.5 text-sm {kind === 'error'
? 'border-danger/40 bg-surface text-danger'
: kind === 'success'
? 'border-ok/40 bg-ok/15 text-ok'
: 'border-edge bg-raised/95 text-ink'}"
? 'border-ok/40 bg-surface text-ok'
: 'border-edge bg-surface text-ink'}"
>
{message}
</div>