choreography
Tokens
The primitive motion values every preset and atom derives from. Nothing here animates or touches the page; it is plain data.
What’s here
motion/motion.js-motionTokens: duration, ease, distance, stagger,
opacity, blur and layer orderindex.js- the barrel, re-exported by the choreography rootindex.js
How it connects
- Config re-exports
motionTokensfromix/motion.js
and wraps it:motion.ease(name)maps a CSScubic-bezier()token to the
nearest GSAP ease, because GSAP can’t parse the CSS string. npm run build:motioncopies the tokens tostyles/motion.css, so CSS and
GSAP read one source.npm run check:motion(part ofvalidate) fails when
the CSS has drifted from this file.
See also
Modules
- index
- Tokens barrel — re-exports all motion primitive token objects from the tokens layer.
- Motion tokens
- Motion primitive values — defines duration, ease, distance, stagger, opacity, blur, and z-layer design tokens for the choreography system.