fix(theme): Resolve Framer Motion easing TS error
This commit is contained in:
parent
4fd7aed250
commit
a7e0fa5579
1 changed files with 5 additions and 5 deletions
|
|
@ -9,8 +9,8 @@ export const pageVariants = {
|
||||||
y: 0,
|
y: 0,
|
||||||
scale: 1,
|
scale: 1,
|
||||||
transition: {
|
transition: {
|
||||||
duration: 0.4,
|
duration: 0.5,
|
||||||
ease: [0.16, 1, 0.3, 1], // expo out
|
ease: "easeOut",
|
||||||
staggerChildren: 0.1,
|
staggerChildren: 0.1,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -19,7 +19,7 @@ export const pageVariants = {
|
||||||
y: -8,
|
y: -8,
|
||||||
transition: {
|
transition: {
|
||||||
duration: 0.2,
|
duration: 0.2,
|
||||||
ease: [0.7, 0, 0.84, 0], // ease in
|
ease: "easeIn",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
@ -30,8 +30,8 @@ export const itemVariants = {
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
y: 0,
|
y: 0,
|
||||||
transition: {
|
transition: {
|
||||||
duration: 0.3,
|
duration: 0.4,
|
||||||
ease: [0.16, 1, 0.3, 1],
|
ease: "easeOut",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue