feat(kon): add prefers-reduced-motion support — disables all animations globally

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
jake
2026-03-17 02:19:04 +00:00
parent 90b01b89a1
commit 59e8cbf3da

View File

@@ -294,3 +294,14 @@ html.light .animate-glow-pulse {
}
/* Recording indicator dot (follows mouse via JS, see +layout.svelte) */
/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}