From 1fce79967470128cb0e8e77c65347b4dee31d781 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Fri, 6 Feb 2026 06:26:01 -0600 Subject: [PATCH] fix: use gold hi-res badge with drop-shadow for legibility Switch from hi-res-gray.svg back to the gold hi-res.svg. Add a sub-pixel drop-shadow filter to reinforce thin text strokes against the gold gradient, fixing chromatic anti-aliasing blur at 24px. --- src/lib/components/QualityBadge.svelte | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/components/QualityBadge.svelte b/src/lib/components/QualityBadge.svelte index d8b419afa..cddf0b2d5 100644 --- a/src/lib/components/QualityBadge.svelte +++ b/src/lib/components/QualityBadge.svelte @@ -120,9 +120,8 @@ }); // Get icon path based on tier - // NOTE: Using hi-res-gray.svg because hi-res.svg has poor text contrast const iconPath = $derived.by(() => { - if (tier === 'max' || tier === 'hires') return '/hi-res-gray.svg'; + if (tier === 'max' || tier === 'hires') return '/hi-res.svg'; if (tier === 'cd') return '/cd.svg'; if (tier === 'mp3') return '/mp3.svg'; return '/cd.svg'; @@ -207,7 +206,9 @@ .badge-icon.hires { width: 24px; height: 24px; - filter: none; /* Hi-Res logo keeps original colors */ + /* Sub-pixel drop-shadow reinforces thin black text strokes against */ + /* the gold gradient, counteracting chromatic anti-aliasing blur */ + filter: drop-shadow(0 0 0.4px rgba(0, 0, 0, 0.7)); } .badge-text {