Gate view transitions behind prefers-reduced-motion: no-preference

This commit is contained in:
Tom 2025-05-17 09:30:13 +01:00
parent 2f12ac1a53
commit f063d0394a

View File

@ -465,12 +465,8 @@ svg {
@include night-mode; @include night-mode;
} }
@view-transition { @media (prefers-reduced-motion: no-preference) {
navigation: auto; @view-transition {
} navigation: auto;
@media (prefers-reduced-motion: reduce) {
* {
view-transition-name: unset !important;
} }
} }