From dd07adc998fb9b992f6da4ca5dd68c82bc2da8c5 Mon Sep 17 00:00:00 2001 From: p-sw Date: Sun, 26 May 2024 20:19:51 +0900 Subject: [PATCH] style: change toast life transition ease function --- packages/react/components/Toast.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react/components/Toast.tsx b/packages/react/components/Toast.tsx index c4e01f0..8cf2646 100644 --- a/packages/react/components/Toast.tsx +++ b/packages/react/components/Toast.tsx @@ -34,9 +34,9 @@ const [toastVariant] = vcn({ loading: toastColors.borders.loading, }, life: { - born: "translate-y-1/2 scale-90 ease-out", - normal: "translate-y-0 scale-100 ease-out", - dead: "translate-y-1/2 scale-90 ease-in", + born: "translate-y-1/2 scale-90 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)]", }, }, defaults: {