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: {},
|
||||
autoplayGifs: false,
|
||||
markMediaAsSensitive: false,
|
||||
reduceMotion: false,
|
||||
reduceMotion: !process.browser || window.matchMedia('(prefers-reduced-motion: reduce)').matches,
|
||||
pinnedPages: {},
|
||||
instanceLists: {},
|
||||
pinnedStatuses: {},
|
||||
|
|
Loading…
Reference in New Issue