diff --git a/styles/styles.scss b/styles/styles.scss index 7783e114d..606042482 100644 --- a/styles/styles.scss +++ b/styles/styles.scss @@ -73,3 +73,18 @@ :root:has(body.g-root_theme_dark-hc) { color-scheme: dark; } + +@media (prefers-reduced-motion: reduce) { + *, + *::before, + *::after { + /* stylelint-disable-next-line declaration-no-important */ + scroll-behavior: auto !important; + /* stylelint-disable-next-line declaration-no-important */ + transition-duration: 0.001ms !important; + /* stylelint-disable-next-line declaration-no-important */ + animation-duration: 0.001ms !important; + /* stylelint-disable-next-line declaration-no-important */ + animation-iteration-count: 1 !important; + } +}