fix(a11y): default "prefers reduced motion" to OS/browser default (#696)
fixes #695
This commit is contained in:
parent
9c74a072bf
commit
7f1ec6036d
|
@ -41,7 +41,7 @@ export const store = new PinaforeStore({
|
||||||
repliesShown: {},
|
repliesShown: {},
|
||||||
autoplayGifs: false,
|
autoplayGifs: false,
|
||||||
markMediaAsSensitive: false,
|
markMediaAsSensitive: false,
|
||||||
reduceMotion: false,
|
reduceMotion: !process.browser || window.matchMedia('(prefers-reduced-motion: reduce)').matches,
|
||||||
pinnedPages: {},
|
pinnedPages: {},
|
||||||
instanceLists: {},
|
instanceLists: {},
|
||||||
pinnedStatuses: {},
|
pinnedStatuses: {},
|
||||||
|
|
Loading…
Reference in a new issue