From 541b5740a96bdc9585e8e3b88e44955603db862c Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 15 May 2026 12:06:40 +0000 Subject: refactor(colours): tokenise card shadows and scrims Introduce --shadow-card, --shadow-card-emphasized, --shadow-cta, --scrim, --scrim-soft, and --scrim-banner. Migrate 14 inline literals (card.css, input.css, Notification, MediaRoulette, the two Landing CTA buttons, the popup overlay, the palette and roulette scrims, three identity banners, the user profile cover art shadow) onto the tokens, with light/dark adaptation handled by the existing prefers-color-scheme blocks instead of duplicated inline. Two single-use Landing demo-focus values stay inline. --- src/lib/CommandPalette/CommandPalette.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/CommandPalette/CommandPalette.svelte') diff --git a/src/lib/CommandPalette/CommandPalette.svelte b/src/lib/CommandPalette/CommandPalette.svelte index ca3513f4..faa739a4 100644 --- a/src/lib/CommandPalette/CommandPalette.svelte +++ b/src/lib/CommandPalette/CommandPalette.svelte @@ -268,7 +268,7 @@ const handleGlobalKey = (e: KeyboardEvent) => { left: 0; width: 100%; height: 100%; - background-color: rgba(0, 0, 0, 0.6); + background-color: var(--scrim); z-index: 100; backdrop-filter: blur(3px); cursor: pointer; -- cgit v1.2.3