Skip to content

feat(app): add reduce motion appearance setting - #57103

Merged
usrnk1 merged 1 commit into
betafrom
reduce-motion-setting
Oct 19, 2026
Merged

usrnk1 merged 1 commit into
betafrom
reduce-motion-setting

Conversation

@usrnk1

@usrnk1 usrnk1 commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Adds a Reduce motion setting (System / On / Off) to Settings → Appearance.

  • New appearance.reduceMotion setting, default system; stored settings without it decode to the default.
  • The app resolves the setting (System follows prefers-reduced-motion) into data-motion="reduce" | "full" on the root element.
  • Reduced-motion CSS rules, Tailwind motion-reduce:/motion-safe: variants, and prefersReducedMotion() in @opencode/ui/motion now follow that attribute, falling back to the media query when it is absent (Storybook sets it from the system preference).
  • Direct matchMedia("(prefers-reduced-motion)") callers (segmented control, toast pulse, About wordmark, pin board, timeline resume scroll) use the shared helper.
  • Settings search entry and English copy.

@usrnk1
usrnk1 merged commit 22ad26f into beta Oct 19, 2026
19 checks passed
@usrnk1
usrnk1 deleted the reduce-motion-setting branch October 19, 2026 14:40
@amrkmn amrkmn mentioned this pull request Oct 27, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant