Skip to content

Commit 013d0a5

Browse files
authored
add motion reduce overrides back in! (#113)
1 parent df96f99 commit 013d0a5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

assets/mantle.css

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
@import url("https://cdn.ngrok.com/static/fonts/fonts.css");
22

3+
/**
4+
* provide an a11y escape hatch for those that prefer less motion
5+
*/
6+
@media (prefers-reduced-motion: reduce) {
7+
*,
8+
*::before,
9+
*::after {
10+
animation-duration: 0.01ms !important;
11+
animation-iteration-count: 1 !important;
12+
transition-duration: 0.01ms !important;
13+
scroll-behavior: auto !important;
14+
}
15+
}
16+
317
:root {
418
/* ngrok custom blue (600 is current button)
519
* These are required as they are referenced by both light and dark modes.

0 commit comments

Comments
 (0)