Skip to content

[codex] Fix terminal custom accent color#864

Merged
binaricat merged 1 commit into
mainfrom
codex/fix-terminal-accent-color
Apr 29, 2026
Merged

[codex] Fix terminal custom accent color#864
binaricat merged 1 commit into
mainfrom
codex/fix-terminal-accent-color

Conversation

@binaricat
Copy link
Copy Markdown
Owner

Summary

  • Make terminal cursor, selection, active terminal toolbar buttons, and terminal side-panel active buttons follow the custom accent color.
  • Keep theme-based terminal colors unchanged when custom accent is disabled or invalid.
  • Add regression coverage for terminal accent mapping and pressed toolbar state.

Root cause

Terminal pages apply immersive terminal theme colors. That path used the terminal theme cursor color as the app accent, so a custom appearance accent was overwritten back to the terminal theme default blue.

Validation

  • npm run lint
  • npm test (311 passing)
  • npm run build

Closes #860

@binaricat binaricat marked this pull request as ready for review April 29, 2026 03:21
@binaricat binaricat merged commit e4e1b54 into main Apr 29, 2026
@binaricat binaricat deleted the codex/fix-terminal-accent-color branch April 29, 2026 03:21
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.

Bug: 外观自定义强调色在终端页面不生效

1 participant