refactor: make toaster scale larger on transition

This commit is contained in:
p-sw 2024-05-21 10:26:50 +09:00
parent 2b59d3c572
commit 9493fb8857

View File

@ -23,9 +23,9 @@ const [toastVariant] = vcn({
loading: "border-black/50 dark:border-white/50 animate-pulse", loading: "border-black/50 dark:border-white/50 animate-pulse",
}, },
life: { life: {
born: "translate-y-1/2 scale-50", born: "translate-y-1/2 scale-90 ease-out",
normal: "translate-y-0 scale-100 ease-out", normal: "translate-y-0 scale-100 ease-out",
dead: "translate-y-1/2 scale-50 ease-in", dead: "translate-y-1/2 scale-90 ease-in",
}, },
}, },
defaults: { defaults: {