diff --git a/web/src/app/globals.css b/web/src/app/globals.css index 2d54da0..ca93534 100644 --- a/web/src/app/globals.css +++ b/web/src/app/globals.css @@ -215,6 +215,16 @@ button { border-width: 0; } +/* Respect user motion preference */ +@media (prefers-reduced-motion: reduce) { + *, *::before, *::after { + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; + scroll-behavior: auto !important; + } +} + /* Respect OS dark/light preference */ @media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {