review theme
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user