Skip to content
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

Disable animations in prefers reduce motion mode #60

Merged
merged 6 commits into from
Sep 23, 2023

Conversation

ukorvl
Copy link
Member

@ukorvl ukorvl commented Sep 20, 2023

closes #35
This diff brings usePrefersReduceMotion React hook to dynamically detect if user prefers reduce motion mode.

@ukorvl ukorvl self-assigned this Sep 20, 2023
@ukorvl ukorvl requested a review from KlonD90 September 21, 2023 20:22
site/src/hooks/usePrefersReduceMotion.ts Outdated Show resolved Hide resolved
site/src/hooks/usePrefersReduceMotion.ts Show resolved Hide resolved
@ukorvl ukorvl merged commit 98aa0c8 into master Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accessibility fixes
2 participants