Skip to content

docs(docs): follow the motion setting on code fences - #1084

Merged
johnleider merged 1 commit into
masterfrom
docs/fence-reduced-motion
Oct 22, 2026
Merged

johnleider merged 1 commit into
masterfrom
docs/fence-reduced-motion

Conversation

@johnleider

Copy link
Copy Markdown
Member

Collapsed code fences and example-code peeks followed only the OS prefers-reduced-motion query. They now follow the docs motion setting: system detection, Reduce motion, Full motion, and the tour override.

Changing the setting mid-session updates the next expand. An explicit Full motion choice also wins over the reduced-motion preflight for these transitions.

Collapsed fences and example-code peeks animated from the OS media
query alone. The expand now tracks the settings preference, including
a change made mid-session and an explicit Full motion choice.
@johnleider johnleider added this to the v1.3.x milestone Oct 22, 2026
@johnleider johnleider added T: bug Something isn't working documentation Improvements or additions to documentation labels Oct 22, 2026
@johnleider johnleider self-assigned this Oct 22, 2026
@johnleider
johnleider merged commit 8918c0f into master Oct 22, 2026
24 checks passed
@johnleider
johnleider deleted the docs/fence-reduced-motion branch October 22, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation T: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant