Open Bug 1720640 Opened 3 years ago Updated 3 years ago

HTML message in dark mode has poor contrast


(Thunderbird :: Theme, defect)



(Not tracked)



(Reporter: tim.chambers1968, Unassigned)


(Blocks 1 open bug)


(Keywords: dupeme)


(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0

Steps to reproduce:

I am on Linux (Pop!_OS) using dark theme. I have Thunderbird (78.11.0) built in dark theme enabled.

Actual results:

Some HTML based messages displayed in the reader pane retain a white background but the text displays in light grey and is effectively unreadable. It appears that the background colour in the email is following HTML specification (? perhaps?) but the text is changing to match the dark theme.

This can be overridden by setting:
Preferences->General->Language and Appearance->Colors...

with "Text and Background" set to black text and white background, and "Override the colors..." set to always.

This makes all the messages legible, but loses intended colouration (e.g. colour highlights in text).

Image attached ilustrating the issue. The dark text was composed in thunderbird and was included as a reply in the problem message. I can supply the original email if required .

Expected results:

When a message is displayed in its "natural" HTML, the text should default to black unless otherwise specified and not be overridden by the display theme.

Component: Untriaged → Theme
Keywords: dupeme

I'm on Fedora 34 Workstation, Gnome 40 desktop and don't see an issue using the Adwaita-dark OS theme with the Thunderbird dark theme, but use the Thunderbird default theme which uses the OS theme.


What desktop and does the Thunderbird default theme work better with the dark OS theme?

Flags: needinfo?(tim.chambers1968)

I'm on Pop!_OS, so its gnome 38 underneath.

If I use the theme colours ("Override the colors..." set to always) the text is clear, but any custom colours such as highlighting of important text, if the sender has done that in HTML (e.g. when using outlook formatting), is lost.

If I don't override the colours ("Override the colors..." set to never) in order to see html in the way the sender intended, it seems like the background of the message stays white but text gets set to light grey instead of black and is difficult to read.

Flags: needinfo?(tim.chambers1968)
You need to log in before you can comment on or make changes to this bug.