From 45c66eaa88aefba86bf2a75d17c0f2fcdebaae1b Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 15 May 2026 11:59:35 +0000 Subject: style(card): move backdrop blur to an opt-in .card-glass modifier Strip backdrop-filter: blur(4px) from the base .card so the ~50 in-flow surfaces (landing panels, schedule rows, tool cards, user profile cards, badge wall, etc.) stop paying for a blur they don't need. Introduce .card-glass for the surfaces that actually float over other content: the sticky page header, header nav dropdowns, command palette, title-attribute tooltips, LinkedTooltip, and HoverCover. Popup, MediaRoulette, and Notification keep their existing parent-overlay or solid-background treatments. --- src/lib/CommandPalette/CommandPalette.svelte | 2 +- src/lib/Layout/Dropdown.svelte | 2 +- src/lib/Media/Cover/HoverCover.svelte | 2 +- src/lib/Tooltip/LinkedTooltip.svelte | 2 +- src/lib/Tooltip/tooltip.ts | 1 + src/routes/+layout.svelte | 2 +- src/styles/card.css | 3 +++ 7 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/lib/CommandPalette/CommandPalette.svelte b/src/lib/CommandPalette/CommandPalette.svelte index 5eb06ef7..ca3513f4 100644 --- a/src/lib/CommandPalette/CommandPalette.svelte +++ b/src/lib/CommandPalette/CommandPalette.svelte @@ -178,7 +178,7 @@ const handleGlobalKey = (e: KeyboardEvent) => { aria-modal="true" aria-label="Command palette" > -