From 485f1b110a03c8adfe07d065bd9890469faf0936 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 8 May 2026 07:51:15 +0000 Subject: style(anchor): narrow global anchor transition to color/opacity Replace transition: all with explicit color, opacity, and text-decoration-color so unrelated property changes (transform, background) do not get incidentally tweened. --- src/routes/+layout.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index fa0f4a25..b09e771a 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -375,7 +375,10 @@ $: { :global(a) { text-decoration: none; - transition: all 0.15s ease-in-out; + transition: + color 0.15s ease-in-out, + opacity 0.15s ease-in-out, + text-decoration-color 0.15s ease-in-out; } :global(a:hover) { -- cgit v1.2.3