From 2118db4db4ef6caa921417cce1e4c91df30c311d Mon Sep 17 00:00:00 2001 From: Phil Sherry <272769+philsherry@users.noreply.github.com> Date: Tue, 3 Dec 2024 11:08:01 +0000 Subject: [PATCH] fix(a11y): fix an accessibility bug Having a constant flashing light can make some people feel sick, or angry, or confused, which is is why we have . --- src/lib/components/TitleBar.svelte | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/components/TitleBar.svelte b/src/lib/components/TitleBar.svelte index eb8bb78..78616cb 100644 --- a/src/lib/components/TitleBar.svelte +++ b/src/lib/components/TitleBar.svelte @@ -97,6 +97,13 @@ } } + @media screen and (prefers-reduced-motion: reduce) { + .neon, + .scanlines { + animation: none; + } + } + .app-icon { width: 16px; height: 16px;