Skip to content

fix(code-editor): POLISH-APP-4 — drain design drift - #413

Merged
th3-br41n merged 1 commit into
mainfrom
fix/polish-app-4-code-editor
Aug 1, 2026
Merged

th3-br41n merged 1 commit into
mainfrom
fix/polish-app-4-code-editor

Conversation

@th3-br41n

Copy link
Copy Markdown
Contributor

POLISH-APP-4 — Code editor (fourth rung of the per-app design-polish program)

Drift drain: 14 literal colors → 0 in apps/code-editor/src/styles.css. All 14 were dead var(--x, rgba(…)) fallbacks on guaranteed tokens: neutral-grey stand-ins for --hover/--accent-soft fills (list rows, find matches, completion items), the --shadow-popover/--shadow-xl shadows, and the --color-dimmer sheet backdrop. The feared syntax-theme literals turned out not to live in CSS at all.

Rubric walk: chrome verified compliant — shared object menu, panel toggles, <EmptyState> (references panel + list), accent-soft selection fills throughout. No fixes needed.

Evidence: harness session 313-polish-code-editor-both-themes — file list with selected row + editor + references panel in both app themes, all token-driven.

Verify: bun run verify green (exit 0); code-editor suite 52 files / 555 tests green; per-app tsc clean.

Branch-note: the drift baseline here still carries the browser entry (17) because #412 is unmerged; both PRs delete disjoint baseline entries and merge cleanly in either order.

🤖 Generated with Claude Code

Drift: 14 literal colors -> 0. All were dead var(--x, rgba(...))
fallbacks on guaranteed tokens: the grey hover/accent-soft stand-ins,
the popover/xl shadows, and the sheet dimmer. No syntax-theme literals
live in CSS. Rubric walk: chrome already fully on shared primitives
(object menu, panel toggles, EmptyState, accent-soft selection).

Evidence: harness session 313 (file list + editor, both app themes).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@th3-br41n
th3-br41n merged commit f551751 into main Aug 1, 2026
3 checks passed
@th3-br41n
th3-br41n deleted the fix/polish-app-4-code-editor branch August 1, 2026 11:07
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