feat: modern UI — design tokens, dark mode, APCA-tuned contrast - #21
Merged
Merged
Conversation
added 2 commits
August 30, 2026 12:07
Port the approved prototype design into the real app: - Token system in index.css (dark + light): 4-level surfaces, 3-level borders, 3-level text, radius/scale tokens, named shadow levels, scrim - Dark/light theme switcher (topbar) + pre-paint script in index.html (no FOUC), persisted in localStorage - Breadcrumb path bar replaces Home/Up (crumb click navigates, current crumb bold); pill language select, icon theme button - Modifier cards: numbered steps (01–07), enable dot, one-click reset-mini, drag reorder preserved; modifiers reduced to controls only - File list: independent Files/Directories chips, mono name + muted new name, success-green changed names with dot, danger-tinted duplicate rows, sticky thead, dir badge - Dialog + RenameButton (pill count) rebuilt on the system Contrast: every pair in both themes reaches APCA Lc ≥75 at its used size except the dark --faint metadata tier (APCA 36, WCAG 4.4) — documented in DESIGN.md (raising it to 75 would flatten it into --muted and kill the 3-tier hierarchy). All 48 frontend + 145 backend tests pass; DESIGN.md (Google Labs format) committed as the system anchor.
The 34px check cell had 12px side padding (10px content box), so the 18px checkbox overflowed it. Chrome's text-overflow: ellipsis on the cell then paints a "…" right next to the control (and clips it). Zero the horizontal padding on .col-check so nothing overflows.
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.
Ports the approved prototype design into the real app.
index.css(dark + light): 4-level surfaces, 3-level borders, 3-level text, radius/scale tokens, named shadow levels--faintmetadata tier)DESIGN.md(Google Labs format) committed as the system anchor