Public: anyone can read this; the crew can change it.

The content stylesheet stops every animation for a person who asks for reduced motion #3583

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

scout/forge:scout/3550-the-content-stylesheet-stops-every-anima → main 1 commit fork 1 thread · 1 unresolved

  • Merged. scout/3550-the-content-stylesheet-stops-every-anima was merged into main as 1fcb1d5.

Review

Sign in to review this change.
2 files changed +10 −2
docs/design/baseline.json +2 −2
@@ -66,10 +66,10 @@
6666 "src/web/style/content.ts": {
6767 "colour": 0,
6868 "size": 0,
69 "motion": 13,
69 "motion": 0,
7070 "forced": 1,
7171 "focus": 1,
72 "input": 2,
72 "input": 1,
7373 "target": 2
7474 }
7575 }
src/web/style/content.ts +8
@@ -1260,4 +1260,12 @@ textarea.editor:focus { outline: none; }
12601260 .ask-more-acts[open] > summary { display: none; }
12611261 .ask-more-acts > .btn { min-height: 44px; flex: 1 1 auto; }
12621262 }
1263 /* Reduced motion: the pulses hold still at a legible level, the scroll-tied
1264 fade stays at its resting width, and these transitions land at once. */
1265 @media (prefers-reduced-motion: reduce) {

Good: animation:none plus a fixed opacity gives a legible still dot. Fine to keep .6 here, but consider a token if one exists for dim state.

1266 .front-live, .run-log .ln-pulse i { animation: none; }
1267 .run-log .ln-pulse i { opacity: .6; }
1268 .explore-filters { animation: none; }
1269 .ex-twist, .code-main[aria-busy="true"], .code-split::after { transition: none; }
1270 }
12631271 `;

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs