Theemo / @theemo/theme / Motion
Variable: Motion
ts
const Motion: object;
Defined in: features.ts:47
Motion
Type declaration
Name | Type | Default value | Description | Defined in |
---|---|---|---|---|
NoPreference | "no-preference" | 'no-preference' | Indicates that the user has made no preference known to the system. This keyword value evaluates as false in the Boolean context. | features.ts:49 |
Reduce | "reduce" | 'reduce' | Indicates that user has notified the system that they prefer an interface that removes or replaces the types of motion-based animation that trigger discomfort for those with vestibular motion disorders. | features.ts:52 |
See
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion