components: Honour 'prefers reduced motion' setting in many components
This helps accessibility for motion-sensitive people such as myself, and can improve battery life in "battery saving" mode on most devices
This commit is contained in:
parent
af97dd7484
commit
51ebe643d5
6 changed files with 22 additions and 0 deletions
|
@ -74,6 +74,9 @@
|
|||
|
||||
.interactive {
|
||||
.svg-inline--fa {
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
animation: unset;
|
||||
}
|
||||
animation-duration: 0.6s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue