Phase 4a: design-system foundation (tokens, dark mode, left nav, anchored Publish)#32
Merged
Merged
Conversation
Establish the tokenized design-system + app-shell foundation for the pre-distribution UX pass, on top of main: - 8px spacing scale, radius/elevation scale, regularized modular type scale - tokenized color palette in light and dark (prefers-color-scheme), tuned for WCAG 2.2 AA; dark overridable by an explicit light/dark/system choice persisted across reloads via a new app-bar theme toggle (lib/theme) - consistent button system; Publish is a large, anchored (sticky), high-contrast primary action - sticky top bar; persistent left navigation rail (NavRail) for Posts/Settings - reduced visual noise via tokens Add .claude/rules/ui-standards.md, a Phase 4 plan in docs/roadmap.md, a scope-rule carve-out, and a CHANGELOG entry. Adds unit tests (theme, navigation) and e2e coverage (left nav, theme toggle, anchored Publish). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Jun 19, 2026
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.
Phase 4a — design-system foundation
First PR of the sanctioned Phase 4 UX/UI quality pass. Foundation-first: shared visual language + app shell, measured against the new
.claude/rules/ui-standards.md. No behavioural changes to publishing.What's in it
--text-*).prefers-color-scheme) and is overridable by an explicit light/dark/system choice persisted across reloads (new app-bar theme toggle,lib/theme.ts).NavRail) for Posts/Settings; reduced visual noise via tokens.ui-standards.md, Phase 4 plan indocs/roadmap.md, scope-rule carve-out, CHANGELOG entry.Tests
theme.test.ts,navigation.test.ts.pnpm build✅ ·pnpm test✅ (studio 126/126, all packages) ·pnpm lint✅ ·pnpm test:e2e✅ (19/19).Hard rules
PR only (off
main), no new dependencies, secrets stay server-side, AGPL preserved, no QuBrite hardcoding.Next (separate PRs, await review)
window.promptflows, toolbar a11y/≥24px targets, token application).🤖 Generated with Claude Code