From 2648650c12471a24a29e4e9a4e2ac77940cd96ff Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Fri, 14 Feb 2025 16:33:13 +0100
Subject: frontend: Further improve highlight focus

---
 frontend/src/lib/navigation/Link.svelte | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

(limited to 'frontend/src/lib/navigation/Link.svelte')

diff --git a/frontend/src/lib/navigation/Link.svelte b/frontend/src/lib/navigation/Link.svelte
index 9c7e218..d18fe3e 100644
--- a/frontend/src/lib/navigation/Link.svelte
+++ b/frontend/src/lib/navigation/Link.svelte
@@ -22,8 +22,14 @@
 	});
 </script>
 
-<li class:active class="items-center hover:bg-indigo-700 [&.active]:bg-indigo-700">
-	<a class="focus-background flex items-center" {target} {title} {href} use:accelerator={accel}>
+<li class:active class="items-center hover:bg-slate-600 [&.active]:bg-indigo-700">
+	<a
+		class="flex items-center focus-visible:bg-slate-600 focus-visible:outline-hidden"
+		{target}
+		{title}
+		{href}
+		use:accelerator={accel}
+	>
 		<div class="flex p-3">
 			{@render children?.()}
 		</div>
-- 
cgit v1.2.3-2-gb3c3

