aboutsummaryrefslogtreecommitdiff
path: root/templates/@theme-base/reusable-components/_design-system-reduced-motion.scss
diff options
context:
space:
mode:
Diffstat (limited to 'templates/@theme-base/reusable-components/_design-system-reduced-motion.scss')
-rw-r--r--templates/@theme-base/reusable-components/_design-system-reduced-motion.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/@theme-base/reusable-components/_design-system-reduced-motion.scss b/templates/@theme-base/reusable-components/_design-system-reduced-motion.scss
new file mode 100644
index 0000000..437cc53
--- /dev/null
+++ b/templates/@theme-base/reusable-components/_design-system-reduced-motion.scss
@@ -0,0 +1,9 @@
+/**
+ * reduced motion MQ: for vestibular disorders
+ */
+@media (prefers-reduced-motion: reduce) {
+ *, *:before, *:after {
+ animation-duration: 0s !important;
+ transition-duration: 0s !important;
+ }
+} \ No newline at end of file