diff --git a/.dumi/global.less b/.dumi/global.less index 67b9a62ae2..3ced5a7388 100644 --- a/.dumi/global.less +++ b/.dumi/global.less @@ -1,6 +1,15 @@ // FIXME: workaround for avoid searchbar styles be extracted to async chunk @import 'dumi/theme-default/slots/SearchBar/index.less'; +@media (prefers-reduced-motion: reduce) { + *, + *::before, + *::after { + animation: none; + transition: none; + } +} + .demo-logo { width: 120px; min-width: 120px;