Found a problem where the message window appears white in dark mode

Subject: [Bug Report] My messages are unreadable in dark mode

Hello, I’ve encountered a visibility issue in ChatGPT’s dark mode.
After a recent update, my own message bubbles appear with a white background and white (or nearly white) text — making it extremely difficult to read.

This didn’t happen before. It only occurs in “Dark Mode”; when I switch to “System” or “Light Mode,” the issue disappears.

Please investigate this — it seems like a UI regression that impacts accessibility and user experience. I’ve attached a screenshot for reference.

Thank you!

5 Likes

Same here! Comment to see updates :slight_smile:

2 Likes

Same here, only light theme fix this problem which I dont want

1 Like

same. have tried everything. seems to have no fix for now.

1 Like

I’m currently using Chrome, and the issue still seems unresolved.
I’ve tried clearing the cache, switching Chrome themes, and even using incognito mode, but nothing worked.
I think this might be something the GPT UI team needs to look into. :sweat_smile:

3 Likes

I have the same issue and have identified the cause :

It comes from : @media (prefers-reduced-transparency: reduce) {
:is(html,.light,.dark .light) {
–message-surface: #f4f4f4;
}
}

There is a missing comme between .dark and .light Without the comma, it’s selecting light-themed elements inside dark-themed containers.

To fix it (before a chatGPT official fix, you can go in the developper console (F12 or inspect an element) and in the styles, you look at --message-surface and when you see the rule, add the missing comma yourself :wink:

4 Likes

Yes. This is happening with me in Chrome and Edge. But firefox works fine.
I’m wondering why is it happening to only some of us.

1 Like

Same here. Chrome, extensions disabled for chatgpt website

1 Like

I found a temporary workaround.
By opening the developer tools (F12) and changing the color code under .styles → .message, I was able to fix the issue, as shown in the screenshot.
Thank you for your help, @quentinbragard!


2 Likes

thanks a lot. this works. but only until you refresh the page. Is this a chrome/edge problem or chatgpt?

I suspect a chatGPT issue as it can be fixed by adding a comma in the code :wink:

2 Likes

ok, updated, not just for the already posted messages

For the lazy one, crate a bookmark, name it what you want (Dark mode fix for ChatGPT)

Put this in the address field, run from bookmark on chatgpt.

javascript:(() => {
const root = document.querySelector(‘:root’);
if (root) {
root.style.setProperty(‘–message-surface’, ‘#424242’);
} else {
console.log(‘:cross_mark: Could not find :root to patch’);
}
})();

1 Like

Also happening on Opera GX

1 Like

Happening to me too, sucks cause with eye issues I can’t use it on light or system mode.

1 Like

OMG SAME THING! It comes with the new update no? Some bug or something… I really hate it tho

Here is a substantial fix I discovered to remedy this problem (at least for those who use a Chrome based web browser).

  1. Go to the settings in ChatGPT and set the Theme to Light.

  2. Next, go to the webstore for extensions:

  3. Search for/download the dark mode extension Dark Reader by darkreader_dot_org.

  4. Assuming you know how to “pin [an] extension to [the] toolbar” and click on it’s icon, all you need do then is simply turn in on aaaaaand…
    VOILÀ!!
    Problem solved. The natural order has been restored.
    :innocent:

Here’s a screenshot of the How-To PDF that ChatGPT came up with. Apparently ya can’t upload PDF’s on this forum.

Im using Brave and I have the exact problem :smiling_face_with_tear:

Here’s a screenshot of my most recent GPT chat for those you require proof.

Getting a shady third party plugin is not really a good solution.

How can a giant tech company make a mistake that even junior programmers or web designers with 2 weeks of experience wouldn’t make smh

This is the way.!!!