From 37999a241f92ad2ca7d187d4a6a7fb9184009485 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.net>
Date: Tue, 19 May 2026 02:06:08 +0000
Subject: fix(transitions): restore background-color on global anchor
 transition

Commit 485f1b11 narrowed :global(a) transition to color/opacity/
text-decoration-color, intentionally excluding background. That
swallowed background-color animation across every anchor, including
the dropdown items (Schedule, Profile) whose :hover toggles
background-color from base01.

Adds background-color to the narrowed list. The original intent of
excluding background-image / shorthand background transitions still
holds; only background-color was a real loss.
---
 src/routes/+layout.svelte | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/routes/+layout.svelte')

diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index c0bf86e9..af8a0e3c 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -409,6 +409,7 @@ $: {
     text-decoration: none;
     transition:
       color var(--duration-fast) var(--ease-in-out-quart),
+      background-color var(--duration-fast) var(--ease-in-out-quart),
       opacity var(--duration-fast) var(--ease-in-out-quart),
       text-decoration-color var(--duration-fast) var(--ease-in-out-quart);
   }
-- 
cgit v1.2.3

