Skip to content

Navigation

Last updated: 2026-11-27T06:14:39-03:00 (UTC-3)

How readers move through the console and the site: the rail and the top bar, tabs and breadcrumbs, and the theme switch that both products share. Part of the design system.

The rail is the console’s sidebar: a floating panel --size-rail-width (204px) wide, 16px clear of the window edge, with radius --radius-frame.

  • Dark glass in both themes. The rail does not follow the theme: it is --color-console-bg in dark and in light, so everything inside it reads the console- roles (--color-console-text, --color-console-text-soft, --color-console-text-faint, --color-console-line) instead of the theme’s. It has a half-pixel ring and a drop (--shadow-frame) and a rim light at its top-left corner. Under reduced transparency it becomes the opaque --color-slab-deep and loses the rim light. The rail declares color-scheme: dark, so its scrollbar is dark in the light theme too.
  • Brand: the live m7 at --size-bot-rail (22px) and the product name in the display font; a custom logo from Branding replaces m7.
  • Gateway menu: the button under the brand (configuration name and version), a quiet fill with a hairline ring. The menu it opens is not part of the dark rail: it is a surface of the current theme, --color-surface with --shadow-menu, the theme’s text and the theme’s focus ring.
  • Sections: uppercase overlines in --color-console-text-faint (Observability, Gateway, Developer, …). The console shows only the sections and items the signed-in user may use.
  • Items: text only, with no icons: 13px in --color-console-text-soft, radius --radius-item, at least --size-tap-target tall.
    • Hover: --color-console-fill-on fill, label in --color-console-text.
    • Active: the same fill, the label in --color-console-text at medium weight.
    • Focus: a 2px --color-console-primary outline drawn inside the item, so the scrolling rail does not clip it.
  • System card: gateway status at the bottom, a word with its status mark: a round dot when ready, a triangle while checking, draining or stale, a square when unavailable or stopped.
  • Small screens: at 850px and below the rail becomes a drawer, flush with the window edge, behind the Open navigation button; while closed it is hidden and leaves the keyboard order, so Tab never walks through invisible items.

A sticky pill of clear liquid glass floating above the content, at least --size-nav-height (60px) tall: --color-glass-tint-clear with a blur (--blur-glass-clear, --saturate-glass), a gradient edge one --size-edge-width wide and the inner light of --shadow-glass. Left: breadcrumbs (section / page, the current page in bold). Right: !panic, the live gateway status, the theme switch and the user’s avatar.

A round icon button showing a half-filled disc. It opens a menu of three choices named in words: System, Light and Dark; the current one carries a filled mark. The button’s accessible name says the current choice (“Theme: Light”, the default until the reader picks another). On opening, the checked choice takes focus; the arrow keys, Home and End move between choices; Escape closes the menu and returns focus to the button, and tabbing out closes it.

The switch is in the top bar and on the sign-in screens, so a reader can pick a theme before signing in. The documentation site has its own switch in its header, and the two share the choice; see Color.

Control Use Look
Page tabs (.page-tabs) Switch between views of one page (Settings sections, catalog views) One pill of clear liquid glass (--color-glass-tint-clear, blurred, edged by the inner light of --shadow-glass alone, with no gradient edge) holding pill buttons in --color-text-soft; the active one on --color-fill-on with a hairline ring, in --color-text
View tabs (.analysis-tabs) Switch a view inside a page (Usage / Performance / Consumers) The same pill; the selected option on --color-fill-on

A tab row stays on one line. When it does not fit, it scrolls sideways inside its pill instead of wrapping; the tint and blur belong to the row itself, so the glass stays in place while the tabs scroll. Each tab is at least --size-tap-target tall.

Both are role="tablist" rows of real buttons reachable with Tab; page tabs mark the current one with role="tab" and aria-selected, and new tab rows should do the same.

Section and page, separated by a slash in --color-text-faint; only the current page is bold. Breadcrumbs show where the reader is; they are not the only way back.

The site uses Starlight’s navigation with the system’s tokens:

  • Header: a floating pill of clear liquid glass, 1rem clear of the window edges: --color-glass-tint-clear with --blur-nav, the same gradient edge as the console’s top bar, the static m7 (floating and blinking) and the site title in --color-text, search and the theme switch. Behind the pill, an opaque band in --color-bg as wide as the window, fading at its foot, keeps scrolling text from showing around or through the glass.
  • On a phone: the “On this page” bar under the header is opaque --color-bg.
  • Sidebar: on the open page, with no fill and no rule. The current page takes the --color-fill-on fill with a hairline ring and radius --radius-item; sections follow docs-site/navigation.mjs, which also decides what is published.
  • On this page: the table of contents beside the content from 72rem, in a dropdown above it on smaller screens.
  • Previous / next: links at the end of every page, in reading order.
  • One active item per level. A page that belongs to two places picks one.
  • Labels are nouns for places (Usage, Virtual keys) and verbs for actions (Sign out).
  • Keep every item reachable by keyboard and visible focus at every width.

m7gtwcontact@m7gtw.com