fix(app): stop animations running under reduced motion (#1956)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-24 12:52:47 +02:00
1 parent 317b4e26c0
commit e68b5b8b5a
3 files changed
+8 -3

No files matched your search

@@ -50,7 +50,7 @@
} }
:global(html.reduced-motion) .heart { :global(html.reduced-motion) .heart {
animation: nekoHeartFade 0.8s ease-out forwards; animation: nekoHeartFade 0.8s ease-out forwards !important;
} }
@keyframes nekoHeartFade { @keyframes nekoHeartFade {
@@ -156,6 +156,11 @@
animation: callBannerRing 1.6s ease-in-out infinite; animation: callBannerRing 1.6s ease-in-out infinite;
} }
:global(html.reduced-motion) .callBannerAvatarPending::before {
animation: none;
opacity: 0.7;
}
.callBannerAvatarPending .callBannerAvatar { .callBannerAvatarPending .callBannerAvatar {
filter: grayscale(0.75); filter: grayscale(0.75);
opacity: 0.75; opacity: 0.75;
@@ -20,8 +20,8 @@
} }
:global(html.reduced-motion) .dot { :global(html.reduced-motion) .dot {
animation-duration: 1s; animation-duration: 1s !important;
animation-iteration-count: infinite; animation-iteration-count: infinite !important;
} }
:global(html:not(.window-focused):not(.unfocused-fully-interactive)) .dot { :global(html:not(.window-focused):not(.unfocused-fully-interactive)) .dot {