Guidelines
Motion
Curves
:root, so CSS reads it as var(--ease-apple) and Tailwind as ease-(--ease-apple). Hover a row to run its curve.Read from packages/design-system/styles/easings.css
--ease-applecubic-bezier(0.25, 0.1, 0.25, 1)Apple's literal modal-crossfade curve (browser default ease)
animation: pin-overlay-close var(--pin-close, 700ms) var(--ease-apple) forwardspackages/design-system/styles/animations.cssanimation: pin-panel-close var(--pin-close, 700ms) var(--ease-apple) forwardspackages/design-system/styles/animations.css
--ease-out-expocubic-bezier(0.16, 1, 0.3, 1)Other Apple-style easings, kept for reference
Not used in the shared stylesheets yet.
--ease-emphasized-decelcubic-bezier(0.32, 0.72, 0, 1)Other Apple-style easings, kept for reference
Not used in the shared stylesheets yet.
--ease-in-out-symmetriccubic-bezier(0.42, 0, 0.58, 1)Other Apple-style easings, kept for reference
Not used in the shared stylesheets yet.
--ease-out-quartcubic-bezier(0.25, 1, 0.5, 1)Other Apple-style easings, kept for reference
animation: slide-build-in 600ms var(--ease-out-quart) bothpackages/design-system/styles/slides/slides.csstransition: box-shadow 150ms var(--ease-out-quart)packages/design-system/styles/slides/slides.css
--ease-out-backcubic-bezier(0.34, 1.56, 0.64, 1)Other Apple-style easings, kept for reference
Not used in the shared stylesheets yet.
Rules
Fade and settle.
Opacity and a short move into place, on a curve that slows as it lands.
Hover moves are small.
An arrow nudges a step to the right, or up and right when the link leaves the site.
Respect reduced motion.
With prefers-reduced-motion, a slide arrives built, the nav logo holds still, and the OS finishes every transition at once.