fix(ui): give the topbar its own surface and a filled active tab

This commit is contained in:
sam committed 2026-10-27 02:13:27 +11:00
1 parent 9d633855f4
commit a8aad28239
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ watch(activePath, revealActive, { flush: "post" });
:to="entry.path"
:aria-current="activePath === entry.path ? 'page' : undefined"
:data-current="activePath === entry.path ? '' : undefined"
class="text-fg-muted hover:text-foreground hover:bg-accent data-current:text-foreground data-current:bg-accent focus-visible:ring-ring/50 inline-flex h-8 shrink-0 items-center rounded-md px-2.5 text-label font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-[3px]"
class="text-fg-muted hover:text-foreground hover:bg-accent data-current:bg-foreground data-current:text-background data-current:hover:bg-foreground data-current:hover:text-background focus-visible:ring-ring/50 inline-flex h-8 shrink-0 items-center rounded-md px-2.5 text-label font-medium whitespace-nowrap transition-colors outline-none focus-visible:ring-[3px]"
>{{ entry.label }}</RouterLink
>
</nav>
+1 -1
View File
@@ -56,7 +56,7 @@ watch(() => route.path, () => (open.value = false));
:to="entry.path"
:aria-current="activePath === entry.path ? 'page' : undefined"
:data-current="activePath === entry.path ? '' : undefined"
class="text-fg-muted hover:text-foreground hover:bg-accent data-current:text-foreground data-current:bg-accent focus-visible:ring-ring/50 flex h-11 items-center gap-3 rounded-md px-3 text-label font-medium transition-colors outline-none focus-visible:ring-[3px]"
class="text-fg-muted hover:text-foreground hover:bg-accent data-current:bg-foreground data-current:text-background data-current:hover:bg-foreground data-current:hover:text-background focus-visible:ring-ring/50 flex h-11 items-center gap-3 rounded-md px-3 text-label font-medium transition-colors outline-none focus-visible:ring-[3px]"
><component :is="icons[entry.path]" v-if="icons[entry.path]" class="size-4" aria-hidden="true" />{{ entry.label }}</RouterLink
>
</nav>
+1 -1
View File
@@ -15,7 +15,7 @@ const newTaskOpen = ref(false);
<template>
<header
class="bg-background sticky top-0 z-40 flex h-14 shrink-0 items-center gap-3 border-b px-3 sm:px-4"
class="bg-card border-border-strong sticky top-0 z-40 flex h-14 shrink-0 items-center gap-3 border-b px-3 shadow-[var(--shadow-sm)] sm:px-4"
>
<div class="md:hidden"><NavMenu :hidden="props.hidden" /></div>
<Brand />