increas4e animation time

This commit is contained in:
Sara Vieira committed 2022-07-29 19:37:52 +02:00
1 parent 2e7d862448
commit 0a773e41b4
1 file changed
+2 -2
@@ -56,7 +56,7 @@ const StyledToast = styled(ToastPrimitive.Root, {
animation: `${slideIn} 250ms cubic-bezier(0.16, 1, 0.3, 1)`,
},
'&[data-state="closed"]': {
animation: `${hide} 100ms ease-in`,
animation: `${hide} 105ms ease-in`,
},
'&[data-swipe="move"]': {
transform: "translateX(var(--radix-toast-swipe-move-x))",
@@ -66,7 +66,7 @@ const StyledToast = styled(ToastPrimitive.Root, {
transition: "transform 200ms ease-out",
},
'&[data-swipe="end"]': {
animation: `${swipeOut} 100ms ease-out`,
animation: `${swipeOut} 150ms ease-out`,
},
},
variants: {