style: make toast transition y 100%

This commit is contained in:
p-sw 2024-05-29 20:52:30 +09:00
parent f780ca1dd0
commit 6c25ae1d7b

View File

@ -34,9 +34,9 @@ const [toastVariant] = vcn({
loading: toastColors.borders.loading, loading: toastColors.borders.loading,
}, },
life: { life: {
born: "translate-y-1/2 scale-90 ease-[cubic-bezier(0,.6,.7,1)]", born: "translate-y-full scale-90 ease-[cubic-bezier(0,.6,.7,1)]",
normal: "translate-y-0 scale-100 ease-[cubic-bezier(0,.6,.7,1)]", normal: "translate-y-0 scale-100 ease-[cubic-bezier(0,.6,.7,1)]",
dead: "translate-y-1/2 scale-90 ease-[cubic-bezier(.6,0,1,.7)]", dead: "translate-y-full scale-90 ease-[cubic-bezier(.6,0,1,.7)]",
}, },
}, },
defaults: { defaults: {