Repository navigation
spec(AST-108): theme motion is three knobs — tempo, character, reducedMotion #8613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
76282bc
843655e
ef37748
c33cc6a
8cbc8e7
e882416
55ce12d
0dcda09
1b84c1b
5588985
ec298b6
13c5cfb
5149d4d
f97e777
bc1422a
0beff2d
e969525
73a1079
8d3ab3c
1b4d396
1d6e560
7abce21
74bd8ae
0bae4a3
6b94712
b61e4fa
b84e8f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,11 +54,12 @@ trackpad, or keyboard the change is immediate. | |
|
|
||
| ## State representation | ||
|
|
||
| | State | Required representation | Allowed variation | | ||
| | --------------------------------- | ----------------------------------------------------------------------------------------------- | -------------------------- | | ||
| | reduced motion, coarse pointer | Opacity-only cross-fade of 200 ms or less (DR2); an in-place value change applies at once (DR2) | A shorter cross-fade | | ||
| | reduced motion, any other pointer | Immediate change (DR3), except a touch drag's release (DR2) | None | | ||
| | no reduced-motion preference | Outside this record | Component and theme motion | | ||
| | State | Required representation | Allowed variation | | ||
| | ------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -------------------------- | | ||
| | reduced motion, coarse pointer | Opacity-only cross-fade of 200 ms or less (DR2); an in-place value change applies at once (DR2) | A shorter cross-fade | | ||
| | reduced motion, any other pointer | Immediate change (DR3), except a touch drag's release (DR2) | None | | ||
| | no reduced-motion preference, theme on `'system'` | Outside this record | Component and theme motion | | ||
| | a theme on `'always'` (DR2a) | As reduced motion, whatever the person's setting | DR1–DR3 | | ||
|
|
||
| ## Responsive and input behavior | ||
|
|
||
|
|
@@ -75,6 +76,10 @@ trackpad, or keyboard the change is immediate. | |
| under Reduce Motion. An in-place value change, such as a progress fill's length or | ||
| another continuous value, does not cross-fade: under reduced motion it | ||
| applies at once on any pointer, with no added element (DEC-3). | ||
| - **DR2a — A theme may reduce motion for everyone.** A theme's | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With DR2a, the State representation row "no reduced-motion preference | Outside this record | Component and theme motion" (line 61) no longer holds under There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With DR2a, the State representation row "no reduced-motion preference | Outside this record | Component and theme motion" (line 61) no longer holds under |
||
| `reducedMotion: 'always'` applies DR1–DR3 for every person, whatever their | ||
| setting; `'system'` follows each person's setting (`spec:AST-108`). No theme | ||
| option loosens DR1–DR4. | ||
| - **DR3 — Fine-pointer presentations change at once.** Under reduced motion, | ||
| every other DR1 transition, when the primary pointer is not coarse, MUST complete | ||
| immediately, with no animated property. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Deciding specs section further down still lists only
spec:AST-012/DEC-1andspec:AST-087/DEC-2; one bullet forspec:AST-108/DEC-1(a theme'sreducedMotion: 'always'reaches nested providers, INV1) would keep it in step with this list.