set prefers-reduced-motion as a global override

This commit is contained in:
Evan Simkowitz 2024-08-30 12:48:06 -07:00
parent 3f4026a6b7
commit 86d6c5cd60
No known key found for this signature in database
2 changed files with 9 additions and 9 deletions

View File

@ -91,3 +91,12 @@ body {
a {
color: var(--accent-color);
}
.prefers-reduced-motion {
* {
transition-duration: none !important;
transition-timing-function: none !important;
transition-property: none !important;
transition-delay: none !important;
}
}

View File

@ -132,12 +132,3 @@
border-radius: calc(var(--block-border-radius) + 2px);
}
}
.prefers-reduced-motion {
.tile-layout {
transition-duration: none !important;
transition-timing-function: none !important;
transition-property: none !important;
transition-delay: none !important;
}
}