Codex diff editor can't work with my dark theme

I am using the Codex extension and the Dracula Theme Soft theme.

When I ask Codex to edit the code, the diff editor can’t show the text in white. I find it hard to read the text since it’s all black. This makes the extension unusable

I try to add the style in settings.json. But it’s still the same:

“workbench.colorCustomizations”: {    
    "Dracula Theme Soft": {

        "diffEditor.insertedTextBackground": "#00800033", // Greenish background

        "diffEditor.removedTextBackground": "#ff000033",  // Reddish background

        "diffEditor.insertedLineBackground": "#00800022",

        "diffEditor.removedLineBackground": "#ff000022",

        "editor.foreground": "#ffffff", // Forces text to white

        "diffEditor.diagonalFill": "#444"

    }

},

Hey @Benny_Chan!

I think this issue is with Codex itself, and it seems like they’re working on a fix (it’s even in prerelease) Codex Diff window has dark text color for dark themes. · Issue #9694 · openai/codex · GitHub

Thanks, I will wait for the fix

1 Like