Skip to content

Tidy the site's header, docs type and developer start path - #113

Merged
callumalpass merged 1 commit into
mainfrom
improve-mdbase-dev-ux
Nov 15, 2026
Merged

callumalpass merged 1 commit into
mainfrom
improve-mdbase-dev-ux

Conversation

@callumalpass

Copy link
Copy Markdown
Member

Fixes from a UI/UX review of mdbase.dev. The site keeps its quiet look; the mobile homepage scroll story is out of scope here.

Bugs

  • The homepage skip link was a black box with invisible text when focused (.home-body a outranked .home-skip-link).
  • Azeret Mono's ligatures turned first into fırst in every code block. Ligatures are now off for code, pre, kbd and samp.
  • The docs sidebar's "Beta on npm" line was 10.5px and failed contrast on mobile. It, the sidebar group labels, step numbers and table headers are now 12px or more.
  • The mobile search button was a 14×14 target. Header controls now keep 44px-high targets.

Header

  • Same layout on every page: wordmark, Search, theme and a boxed "Sign up" on the top row; Connect, Downloads, Apps, Pricing and Developers on a ruled row below. "Home" is dropped, since the wordmark links home.
  • The current section has a short bar on the lower rule, instead of only losing its underline.
  • Below 28rem the section links fold behind a "Menu" button (Escape closes it; without scripts the links stay visible). The phone header goes from about 140px to 67px.

Docs and pages

  • SDK: "Build an app" comes first in the sidebar and in "Where to start", which now opens the overview. The in-memory quickstart is "Try the SDK in memory" and ends by pointing to the tutorial. The apps page's developer link goes to the tutorial.
  • Paragraphs keep to about 75 characters a line (were about 90).
  • Code goes from 12.9px to 14px.
  • Downloads marks the packages for the visitor's system and keeps the size from wrapping on its own line.
  • Homepage: says apps are approved in your Connect account; "Pause motion" now follows the content in tab order.
  • The docs menu collapses at the same width as the layout (68rem; the script used 60rem).
  • DESIGN.md records the header, measure and code-ligature rules.

Checks

  • pnpm check, test:spec, test:home and test:docs pass, and pnpm build succeeds against the pinned sources.
  • The design detector no longer reports line-length, undersized-text or contrast warnings on home, pricing, connect, apps, sdk/quickstart or downloads, at 1280px or 390px.

- One header on every page: wordmark, Search, theme and a boxed Sign up on
  the top row, the five section links below. Home leaves the list (the
  wordmark links home). The current section carries a short bar on the
  lower rule. Below 28rem the links fold behind a Menu button; header
  controls keep 44px-high targets.
- Fix the homepage skip link, whose text matched its box when focused.
- Turn off Azeret Mono's ligatures in code ("fırst"), raise code to 14px,
  and lift the docs sidebar meta, group labels, step numbers and table
  headers to 12px or more.
- Keep paragraphs to about 75 characters a line.
- SDK: "Build an app" comes first; the in-memory quickstart is now "Try
  the SDK in memory" and ends by pointing to the tutorial. "Where to
  start" opens the overview.
- Downloads: mark the packages for the visitor's system and keep the size
  from wrapping on its own.
- Homepage: explain where apps are approved; tab to Pause motion after
  the content.
- Match the docs menu's collapse to the layout breakpoint; add a search
  shortcut hint; record the header and measure rules in DESIGN.md.
@callumalpass
callumalpass merged commit c90ebf4 into main Nov 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant