From 10fdaf7d005dd7e1cd69c36f88129d563292b9e8 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 7 Apr 2026 11:58:04 +0200 Subject: [PATCH] refactor(ui): use CSS variable for turquoise in flash animations Replaces hardcoded rgba(0,199,177,...) with color-mix using var(--color-turquoise) for dark mode compatibility. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/lib/components/AnnotationLayer.svelte | 6 +++--- frontend/src/lib/components/TranscriptionReadView.svelte | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/lib/components/AnnotationLayer.svelte b/frontend/src/lib/components/AnnotationLayer.svelte index dcaddf15..ec1c29c0 100644 --- a/frontend/src/lib/components/AnnotationLayer.svelte +++ b/frontend/src/lib/components/AnnotationLayer.svelte @@ -182,11 +182,11 @@ const containerStyle = $derived( diff --git a/frontend/src/lib/components/TranscriptionReadView.svelte b/frontend/src/lib/components/TranscriptionReadView.svelte index 65929a24..f1586e6c 100644 --- a/frontend/src/lib/components/TranscriptionReadView.svelte +++ b/frontend/src/lib/components/TranscriptionReadView.svelte @@ -38,7 +38,7 @@ let sorted = $derived([...blocks].sort((a, b) => a.sortOrder - b.sortOrder));