Skip to content

Control over color theme in TUI #1618

Closed

Description

@doggy8088

The color theme of the Codex CLI is a MUST for customization.

Activity

  1. added
    enhancement
    on Aug 12, 2025
  2. MiguelRipoll23 commented on Sep 20, 2025

    @MiguelRipoll23

    Something similar to “posting”

  3. drswobodziczka commented on Sep 27, 2025

    @drswobodziczka

    At the moment when using codex in a little bit dark terminal (warp) but with the background looking kind of gray then the cursor which is black is completely not visible Just take a look at the screen.

    level easy ->

    Image

    level hard ->

    Image

    Can you see it? Yeah, I can't. :) But believe me, it's there.

    So the question is, can I somehow customize the colors for the Codex CLI agent app?

  4. PaulRBerg commented on Oct 3, 2025

    @PaulRBerg

    Customization is one thing, but another thing is that the default color scheme is not great. OpenAI should improve it.

    Coming from Claude Code, I find that Codex's color scheme makes text harder to read.

  5. boris-lapouga commented on Oct 6, 2025

    @boris-lapouga

    I support it. Current theme is totally unreadable. I understand that's a design language of OpenAI, but it's not a good fit for terminal development. No shame in copying from Claude Code, or allowing users to set some color codes for similar to CC "settings.json" file.

  6. arsaccol commented on Oct 8, 2025

    @arsaccol

    Google's gemini-cli has some great support for color themes as well, under the /theme command.

  7. heeseon87 commented on Oct 16, 2025

    @heeseon87

    Color improvements will probably come after the release of GPT-6.

  8. rr- commented on Oct 16, 2025

    @rr-
    Image

    Here's how it looks for me after update. 100% unusable

    Edit: works with export TERM=dumb which loses me other syntax highlighting

  9. Elijas commented on Oct 17, 2025

    @Elijas
    Image Here's how it looks for me after update. 100% unusable

    Edit: works with export TERM=dumb which loses me other syntax highlighting

    I had the same, solved it by restarting the terminal app

  10. added
    TUI
    on Oct 27, 2025
  11. changed the title [-]Codex TUI need to setup theme for better reading[/-] [+]Control over color theme in TUI[/+] on Nov 13, 2025
  12. Hargbratch commented on Nov 16, 2025

    @Hargbratch

    yes this is painful, I can barely read in darkmode

    Image
  13. Hargbratch commented on Nov 16, 2025

    @Hargbratch

    ahh this is intentional, how unfortunate

    Image
  14. Hargbratch commented on Nov 16, 2025

    @Hargbratch

    for those who simply cannot live with it, clone the repo, get rustup going on your machine, run this command: rg -l --fixed-strings '.dim()' | xargs -r sed -i 's/\.dim()/\.light_cyan()/g' followed by cargo run --bin codex inside of codex/codex-rs - it doesn't take that long and it sure is an improvement.

    Image

    edit: you'll wanna add it to your PATH then too....

  15. zomem commented on Nov 18, 2025

    @zomem

    使用 codex 修改了 codex 配色。但它的总结内容,还是没有 claude code 那样易读。
    Image

  16. 6 remaining items

  17. mert-kurttutan commented on Feb 17, 2026

    @mert-kurttutan

    I implemented /themes (theme selection + theming support) in my fork, xCodex (xcodex).

    Will you open a pull request to this feature?

    @Chavao According to the contribution guidelines, Codex doesn't allow PRs for features. So, unfortunately, no.

    I have read their reasoning in the relevant markdown document still seems not ideal solution. At least you can adapt something similar to the policy of Ghostty codebase where you get vouched after you provided reasonable outline for your contribution through discussions. This seems like redundant gatekeeping slowing down potentially good PRs

  18. tummetott commented on Feb 18, 2026

    @tummetott

    Competitors, like Gemini, offer a vastly superior customization experience with /theme and offer fully comprehensive customization options as well.

    • Users can opt to use their native terminal's ANSI colors
    • Users can select from pre-packaged popular color schemes like Atom One, Ayu, Dracula, etc.
    • Users can create their own custom color scheme via JSON

    I second this. codex should at least give the possibility to use ANSI colors. The hardcoding is terrible

  19. etraut-openai commented on Feb 23, 2026

    @etraut-openai
    Contributor

    Control over themes is included in the next release. Currently, the theming is focused on syntax highlighting for code. We are considering extending this to other aspects of the TUI. If you have specific ideas, please open new feature requests. Looking forward to your input!

  20. rpx99 commented on Feb 26, 2026

    @rpx99

    Just updated. Full line colours in windows cmd hurt my eyes (especially red) across the board with all themes available. 🥺

    Is this as intended ?

    Image
  21. mgpx commented on Feb 27, 2026

    @mgpx

    Just updated. Full line colours in windows cmd hurt my eyes (especially red) across the board with all themes available. 🥺

    Exactly, it looks awful. If you browse to /theme, some themes don't show any difference. I believe this is some kind of bug.
    I now see the mention that it's fixed in codex-rs/tui/src/diff_render.rs here

  22. mortalnow commented on Mar 10, 2026

    @mortalnow

    This is closed? I still can't see /theme

  23. etraut-openai commented on Mar 10, 2026

    @etraut-openai
    Contributor

    @mortalnow, which version of the CLI are you using? The /theme slash command was added several weeks ago.

    Image
  24. mortalnow commented on Mar 10, 2026

    @mortalnow

    @mortalnow, which version of the CLI are you using? The /theme slash command was added several weeks ago.

    Image

    @mortalnow, which version of the CLI are you using? The /theme slash command was added several weeks ago.

    Image

    Thanks, Eric. My mistake—I’ve enabled auto-upgrade.

  25. dhensen commented on Mar 12, 2026

    @dhensen
    Image

    how do I read this? I'm on codex-cli 0.114.0

  26. NickeZ commented on Mar 27, 2026

    @NickeZ

    Same issue here...

    Image
  27. dsent commented on Mar 28, 2026

    @dsent

    With a light theme, the suggestions are almost indistinguishable from the actual text. Moreover, suggestions are more prominent (darker). This is very confusing.

    This is a suggestion:
    Image

    This is actual text:
    Image

  28. fisher-j commented on Apr 1, 2026

    @fisher-j

    I'm on windows terminal, using a gruvbox light theme. For nearly all themes, the full-line highlights make the code hard to read.

    Image
  29. VirtualLG commented on Apr 2, 2026

    @VirtualLG

    The /theme command only modifies the code highlighting style and has no effect on the highlighting theme of the TUI.

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

    TUIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions