feat(a11y): honor prefer-reduced-motion
This commit is contained in:
parent
c255e3f025
commit
cb776872aa
3 changed files with 21 additions and 0 deletions
|
|
@ -254,4 +254,13 @@ export default {
|
|||
background-color: var(--primary-dark);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
@keyframes wave {
|
||||
10% {
|
||||
transform: translate(0, 0);
|
||||
background-color: var(--primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in a new issue