Skip to content

feat: modern UI — design tokens, dark mode, APCA-tuned contrast - #21

Merged
Addi90 merged 2 commits into
developfrom
port/modern-ui
Aug 30, 2026
Merged

Addi90 merged 2 commits into
developfrom
port/modern-ui

Conversation

@Addi90

@Addi90 Addi90 commented Aug 30, 2026 •

Copy link
Copy Markdown
Owner

Ports 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
  • Dark/light theme switcher in the topbar (pre-paint script, no FOUC, persisted)
  • Breadcrumb path bar replaces Home/Up; pill language select, icon theme button
  • Modifier cards: numbered steps 01–07, enable dot, one-click reset-mini; panels reduced to controls only
  • File list: independent Files/Directories chips, mono names + muted new name, success-green changed names, danger-tinted duplicate rows, sticky header
  • Dialog + RenameButton (pill count) rebuilt on the token system
  • Fix: stray ellipsis next to file-list checkboxes (cell padding overflow)
  • Contrast: all pairs in both themes reach APCA Lc ≥75 at their used size; single documented exception (dark --faint metadata tier)
  • DESIGN.md (Google Labs format) committed as the system anchor

test 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.
@Addi90
Addi90 merged commit 14556ed into develop Aug 30, 2026
5 checks passed
@Addi90
Addi90 deleted the port/modern-ui branch August 30, 2026 10:42
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