Skip to content

Codex CLI doesn't adapt to changing themes mid session #45291

Closed as duplicate

Description

@Noirdemort

What version of Codex CLI is running?

0.154.0

What subscription do you have?

Pro

Which model were you using?

astra

What platform is your computer?

arm64

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

Terminal.app

Codex doctor report

What issue are you seeing?

I set my terminal colors to developer in the preferences pane - so they can adapt to my light mode/dark mode change. But the main colors and chat box colors don't adopt.

What steps can reproduce the bug?

  1. In Terminal.app, open settings.
  2. Go to Profiles tab.
  3. Pick a profile and edit its background color and text color via clicking on it, using the 3rd Color Palettes tab in color picker. On the top dropdown, select Developer. Select sytemBackground and systemTextColor.
  4. Launch terminal with that profile
  5. Launch a codex cli session, and run any prompt
  6. Change system theme
    You'll see the text box and background for prompting doesn't change.
Image

What is the expected behavior?

The expected behaviour is that colors change according to theme

Additional information

No response

Activity

  1. added
    bug
    on Sep 13, 2026
  2. added
    CLI
    TUI
    on Sep 13, 2026
  3. github-actions commented on Sep 13, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLITUIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions