Codex Diff window has dark text color for dark themes.
Resolved 💬 10 comments Opened Jan 22, 2026 by Weijiang-Xiong Closed Jan 23, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
codex-cli 0.63.0
What subscription do you have?
Chatgpt Plus
Which model were you using?
GPT-Codex-5.2
What platform is your computer?
SSh-ing from a mac to a ubuntu 22.04 machine
What terminal emulator and version are you using (if applicable)?
VS Code
What issue are you seeing?
The color of the text in diff window is wrong (in dark themes the text should be light color)
What steps can reproduce the bug?
use a dark theme and let codex modify anything, and see the diff view
What is the expected behavior?
the text should be in light color
10 Comments
Are you using the Codex CLI or the Codex extension? Can you confirm the version you're using? You mentioned 0.63.0 in the bug report, but that's a _very_ old CLI version.
I'm seeing this on the VS Code plugin version 0.4.62
same issue after update vscode codex extension 0.4.62
Same here for the VS Code extension, but I'm using a light theme:
<img width="660" src="https://github.com/user-attachments/assets/cc4d7988-ec2a-4ad7-8fe9-f31eb2c316b8" />
same issue
Thanks, we're aware of the issue and are working on a fix.
same issue
Sorry for the confusion. I'm using Codex extension in VS Code, and the issue is found when using Codex Chat in a dark color theme. I update VS Code and Codex extension frequently, but I don't update the CLI tool. I remember this problem happed after updating the extension, thanks!
Same issue, version 0.4.62
Pre-release 0.5.66 has a fix for this. We will release a new stable version (0.4.66) with this today.
In the meantime, this happens when you IDE light/dark theme is out of sync with your system light/dark theme. If you toggle one or the other such that they are both light or both dark, this will go away. Either way, a fix is rolling out now!