feat(mui): make PageEnter entrance clearly perceptible (16px rise, 0.45s, 0.06s stagger)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -7,15 +7,15 @@ const MotionBox = motion(Box);
|
|||||||
|
|
||||||
const container: Variants = {
|
const container: Variants = {
|
||||||
hidden: {},
|
hidden: {},
|
||||||
show: { transition: { staggerChildren: 0.05, delayChildren: 0.03 } },
|
show: { transition: { staggerChildren: 0.06, delayChildren: 0.04 } },
|
||||||
};
|
};
|
||||||
|
|
||||||
const itemVariant: Variants = {
|
const itemVariant: Variants = {
|
||||||
hidden: { opacity: 0, y: 12 },
|
hidden: { opacity: 0, y: 16 },
|
||||||
show: {
|
show: {
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
y: 0,
|
y: 0,
|
||||||
transition: { duration: 0.4, ease: [0.16, 1, 0.3, 1] },
|
transition: { duration: 0.45, ease: [0.16, 1, 0.3, 1] },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user