Input box remain dark after the system theme turn to light

Open 💬 4 comments Opened Apr 22, 2026 by cynicalight

What version of Codex CLI is running?

0.122.0

What subscription do you have?

plus

Which model were you using?

gpt-5.4

What platform is your computer?

Darwin 25.3.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

Ghostty + Tmux

What issue are you seeing?

After the system switch to light theme in another day morning, the input box of the codex cli is still in dark mode(last night is in dark mode). I have to /exit codex and reopen it again, the input box turns to light theme.

What steps can reproduce the bug?

  1. Switch to dark mode in mac, and open codex:

<img width="701" height="168" alt="Image" src="https://github.com/user-attachments/assets/20ed7b47-eb3f-41a6-945f-d64ad51405be" />

  1. then switch to light mode, and you will see the input box stay dark:

<img width="724" height="295" alt="Image" src="https://github.com/user-attachments/assets/c3c46d45-02a9-4cff-888b-c390d3de96a4" />

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗