oc · docs
docs / documentation

@orangecheck/design


@orangecheck/design / OC_MOTION_COOKIE

Variable: OC_MOTION_COOKIE

const OC_MOTION_COOKIE: "oc_motion" = 'oc_motion';

Defined in: tokens/themes.ts:100

Cookie name for the cross-subdomain ambient-motion choice ('off' pauses the aurora + every .oc-ambient decoration family-wide). This is the WCAG 2.2.2 Pause/Stop/Hide mechanism — prefers-reduced-motion alone does not satisfy it for >5s auto-playing decorative motion.