diff --git a/web/src/App.tsx b/web/src/App.tsx index c2efe0f..345e93c 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -158,6 +158,14 @@ function restoreFocus(target: HTMLElement | null) { }); } +/** A rail destination: engraved mono words, an accent rule under the current one. */ +const NAV_LINK = + "inline-flex items-center gap-2 min-h-control-h py-0 px-3 font-readout text-xs font-semibold uppercase tracking-label text-ink-muted no-underline border-b-2 border-b-transparent hover:text-accent-bright aria-[current=page]:text-accent aria-[current=page]:border-b-accent"; + +/** A tab bar destination: glyph over word, a short accent rule on top of the current one. */ +const TAB = + "relative grid place-items-center content-center gap-1 text-2xs font-semibold uppercase tracking-wide text-ink-faint no-underline aria-[current=page]:text-accent aria-[current=page]:before:absolute aria-[current=page]:before:top-0 aria-[current=page]:before:inset-x-3/10 aria-[current=page]:before:h-rule aria-[current=page]:before:bg-accent"; + function TabGlyph({ name }: { name: IconName }) { return (