You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dark-mode app UI text used near-pure white, which could feel harsh against dark surfaces.
Solution
Use a softer off-white for primary foreground tokens across dark-mode app surfaces. This reduces glare while preserving the existing text hierarchy and avoids changing terminal contrast.
ELI5
The app’s bright white text is now a gentler gray-white, so headings and labels are easier on the eyes in dark mode.
What Changed
Updated dark-mode foreground tokens for the main UI, cards, popovers, accents, sidebars, worktree sidebar, and security surfaces from #fafafa to #e5e5e5.
Why
Changing the shared dark-mode tokens keeps the treatment consistent throughout app chrome and settings rather than fixing individual screens separately.
Automated tests added/updated, or explained why not below
No automated tests added; this is a CSS token-only visual adjustment.
AI Disclosure
Review
Agent skill upstream boundary
Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
No terminal theme tokens were changed. Shared renderer CSS tokens apply consistently across supported platforms and remote clients.
Checklist
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
No actionable comments were generated in the recent review.
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 597dc467-0193-4f6e-b2d6-cf6078e92292
Commits
Reviewing files that changed from the base of the PR and between 20cd813 and f626494.
Files selected for processing: 1
src/renderer/src/assets/main.css
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Walkthrough
Dark-mode foreground values changed from #fafafa to #e5e5e5 for security, app, card, popover, secondary, accent, worktree-sidebar, and sidebar tokens. Associated surface colors and other declarations remain unchanged.
Severity of issue fixed: Low
Merge Risk: Minimal · up to f6264
The token updates align with the requested dark-mode contrast adjustment and are ready to merge.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title clearly and concisely describes the main change: reducing dark-mode application text contrast.
Description check
The description covers the problem, solution, user impact, changed tokens, rationale, linked issue, testing rationale, and scope. The visual-proof section remains TODO, manual testing is not confirmed…
Linked Issues check
[#11452] The issue asks for softer primary and heading text in dark-mode app UI, away from pure white, with muted hierarchy and body readability kept. The diff to src/renderer/src/assets/main.css chan…
Out of Scope Changes check
[#11452] Every changed line is a dark-mode color value in src/renderer/src/assets/main.css, replacing #fafafa with #e5e5e5. No layout, logic, terminal, or light-mode declarations change. The changed b…
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Full details: Description check
Explanation
The description covers the problem, solution, user impact, changed tokens, rationale, linked issue, testing rationale, and scope. The visual-proof section remains TODO, manual testing is not confirmed, and the full validation checklist is incomplete, but the description is otherwise mostly complete and focused.
Full details: Linked Issues check
Explanation
[#11452] The issue asks for softer primary and heading text in dark-mode app UI, away from pure white, with muted hierarchy and body readability kept. The diff to src/renderer/src/assets/main.css changes the dark-mode primary foreground tokens from #fafafa to #e5e5e5. Changed tokens include --foreground, --card-foreground, --popover-foreground, --secondary-foreground, --accent-foreground, --sidebar-foreground, --sidebar-primary-foreground, --sidebar-accent-foreground, --worktree-sidebar-foreground, --worktree-sidebar-accent-foreground, and the --orca-security-* foreground tokens. The muted hierarchy is unchanged: --muted-foreground stays #a1a1a1. Terminal tokens such as --terminal-pane-title-on-dark-fg are unchanged. #e5e5e5 on the #0a0a0a dark background keeps high contrast, so body text stays readable. The issue names no automated test requirement. Visual spot-checks of Settings are not coding requirements and are not evidenced in the PR, which is not a failure of this check. Limit: the review covered the token diff only. Hardcoded white text classes outside main.css were not inspected.
Full details: Out of Scope Changes check
Explanation
[#11452] Every changed line is a dark-mode color value in src/renderer/src/assets/main.css, replacing #fafafa with #e5e5e5. No layout, logic, terminal, or light-mode declarations change. The changed blocks cover app chrome: base foreground, card, popover, secondary, accent, sidebar, worktree sidebar, and security surfaces. The issue scope covers settings, panels, headings, and labels in dark-mode app UI, so these tokens fall within scope. The issue excludes terminal theme contrast, and no terminal token is changed. No change is demonstrably unrelated to the issue.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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
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
Dark-mode app UI text used near-pure white, which could feel harsh against dark surfaces.
Solution
Use a softer off-white for primary foreground tokens across dark-mode app surfaces. This reduces glare while preserving the existing text hierarchy and avoids changing terminal contrast.
ELI5
The app’s bright white text is now a gentler gray-white, so headings and labels are easier on the eyes in dark mode.
What Changed
Updated dark-mode foreground tokens for the main UI, cards, popovers, accents, sidebars, worktree sidebar, and security surfaces from
#fafafato#e5e5e5.Why
Changing the shared dark-mode tokens keeps the treatment consistent throughout app chrome and settings rather than fixing individual screens separately.
Linked Issue
Fixes #11452
Visual Proof
TODO: Attach before-and-after dark-mode UI screenshots.
Testing
No automated tests added; this is a CSS token-only visual adjustment.
AI Disclosure
Review
Agent skill upstream boundary
Notes
No terminal theme tokens were changed. Shared renderer CSS tokens apply consistently across supported platforms and remote clients.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)