theme: exempt status-indicator animations from anim-speed override
Cursor blink, card-bar-pulse, sync spinner and the chat unread blink all have deliberate cadences — letting body.anim-fast/anim-slow speed them up turns them into unreadable strobes (or the sync icon spinning at 100ms). Higher-specificity rules pin each one to its natural duration via !important. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
f886ded054
commit
2aec2d8f44
2 files changed
+30
No files matched your search
@@ -332,3 +332,10 @@
|
||||
#chat-footer-btn.blinking {
|
||||
animation: chatBlink 1.2s ease-in-out infinite;
|
||||
}
|
||||
/* Ignore the global anim-speed override — the unread blink has a
|
||||
deliberate cadence that becomes an unreadable strobe when sped up. */
|
||||
body.anim-fast #chat-footer-btn.blinking,
|
||||
body.anim-slow #chat-footer-btn.blinking {
|
||||
animation: chatBlink 1.2s ease-in-out infinite !important;
|
||||
animation-duration: 1.2s !important;
|
||||
}
|
||||
Reference in new issue
Block a user