Repository navigation
fix(ui): palette contrast + export parity + warn-callout export tint (DSX-P) - #382
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
eliotlim
enabled auto-merge (squash)
October 9, 2026 11:47
eliotlim
disabled auto-merge
October 9, 2026 11:47
This branch was successfully deployed
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.
Problem
Three defects from the design-system audit: warning callouts export with the blue info tint (stored variant
warnvs exporter'swarning); editor orange/yellow text fails WCAG 4.5:1 in light theme (4.08:1 / 3.92:1);COLOR_EXPORT_HEXdrifted from the CSS palette. Board: OB DSX-P (Epic DSX).Solution
toHtml.tsmatches storedwarn(legacywarningalias kept); dark-scheme legacy exports let marked text inherit page ink (translucent tints made forced-dark text unreadable, 1.4–2.9:1).LEGACY_HL).Before / After
warncalloutTest procedure
pnpm --filter @book.dev/ui run test— 2,484 + new suites green;typecheck,lint, stylelint green.pnpm --filter @book.dev/ui exec vitest run src/export/__tests__/export.test.ts src/export/__tests__/exportReactive.test.ts src/blockeditor/__tests__/colors.test.ts src/blockeditor/__tests__/tablePaste.test.tsOperational notes
pnpm verifyon this branch trips only main's knownwhisper.test.ts1s-poll load flake (fixed in feat(server): checksum-verified downloads + pinned whisper runtime/model manifest (WSP-1) #381); this diff is ui-only.warningalias retained; legacy paste tints mapped.Verify status: ui suite + focused suites green; full verify blocked only by the pre-existing main flake (#381 fixes it) · Reviews cleared: code (Quinn — F1/F2+nit applied pre-endorsed) · design (Devon — CLEAR on rendered captures)
🤖 Generated with Claude Code