feat(website): premium-polish pass on the docs chrome - #872
Merged
Conversation
Tier 1+2 of the docs visual redesign (Namespace-reference analysis): - PageActions becomes a labeled 'Copy page' split button — the primary segment copies the page as Markdown directly; the chevron opens the existing actions menu (ChatGPT / View as Markdown / Edit on GitHub) with the #865 keyboard a11y preserved. Both segments keep 44px hit areas via ::after extension (overflow: hidden dropped in favor of per-segment radii so the hit areas aren't clipped). - TOC becomes a scroll-position indicator: continuous hairline rail, active link paints an accent bar segment + 500 weight. Active tracking now computes 'last heading above the reading line' instead of an IntersectionObserver band, so jump-scrolls and hash navigation always yield an active item. - Sidebar: per-section stroke glyphs (getting-started/guides/concepts/ components/a2ui/api/reference), search trigger gains a leading search icon and a real <kbd> ⌘K chip, nav links get more vertical air and a 500-weight active state. - Docs index grid: 20px gap + min() clamp on the column floor. Verified in-browser: menu keyboard flow (focus first item, Escape, focus restore), active-rail accent (#004090) computes on data-active, 44px hit targets, no horizontal overflow at 375. nx test website green, lint 0 errors, production build green. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
blove
enabled auto-merge (squash)
August 30, 2026 14:50
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tier 1+2 of the docs premium-polish redesign (from the Namespace-docs reference analysis), keeping Threadplane's identity (navy accent, Garamond headings, mono labels):
::afterextension —overflow: hiddenon the group was dropped for per-segment radii so the hit areas aren't clipped.<kbd>⌘K chip, nav links get more vertical rhythm and a 500-weight active state.min()clamp on the grid column floor.Blast radius
All six changed files are docs-scoped (docs components,
docs.css, one.docs-index-gridrule inpages.cssused only by/docs). Marketing and homepage untouched.Verification
#004090) + weight computed ondata-active, hit targets 44×45.5 (chevron) and full-width×45.5 (primary), no horizontal overflow at 375, index grid single-column at mobile.nx test websitegreen (PageActions spec updated for the split button), lint 0 errors (guard aterror), production build green.🤖 Generated with Claude Code