refactor(theme): derive CLI truecolor fallbacks from presets#1407
Merged
limityan merged 1 commit intoJul 3, 2026
Conversation
limityan
force-pushed
the
yanzhn/theme-token-key-consolidation
branch
from
July 3, 2026 10:59
c346089 to
b3c9fd5
Compare
limityan
force-pushed
the
yanzhn/theme-token-key-consolidation
branch
from
July 3, 2026 11:12
b3c9fd5 to
7b5e615
Compare
limityan
force-pushed
the
yanzhn/theme-token-key-consolidation
branch
from
July 3, 2026 11:22
7b5e615 to
3112860
Compare
limityan
marked this pull request as ready for review
July 3, 2026 15:51
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.
Summary
Metrics
Color::RgboccurrencesUser-visible CLI Color Changes
#3b82f6, background#111827, panel#1e2637, diff line#66666d#60a5fa, background#0e0e10, panel#1c1c1f, diff line#858585#2563eb, background#f9fafb, panel#f0f2f5, warning#c08c42, diff added/removed/line#4f8f64/#b85454/#94a3b8#475569, background#f3f3f5, panel#ffffff, warning#9a651f, diff added/removed/line#3f7d54/#9f4444/#64748bANSI16 and monochrome paths are unchanged. Command prompt color now follows primary so it remains readable on command card block and hover backgrounds.
Review Fixes
--btn-*payload would degrade Cyber/Tokyo/light button identity inside iframe content.Verification
pnpm run theme:color-audit:allpnpm run theme:color-audit:testpnpm run theme:visual-contractpnpm --dir src/web-ui run test:run -- themePayload.test.tspnpm run type-check:webpnpm run lint:webcargo test -p bitfun-cli theme -- --nocapturecargo check -p bitfun-cligit diff --checkAI-assisted; locally verified as listed above. Cargo verification only reported existing rmcp deprecation warnings.