Message pane: when prefers-color-scheme: dark is set use the approriate colours
Categories
(Thunderbird :: Theme, task)
Tracking
(Not tracked)
People
(Reporter: Paenglab, Assigned: Paenglab)
References
(Regressed 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
|
17.37 KB,
image/png
|
Details | |
|
15.40 KB,
patch
|
mkmelin
:
review+
aleca
:
ui-review+
|
Details | Diff | Splinter Review |
With Message prefers-color-scheme: dark set, the composer has already a dark editor background. The message pane still shows the the white background. For more consistency we should use also a dark background when we show a message which hasn't set the background colour.
| Assignee | ||
Comment 1•6 years ago
|
||
This implements the same logic as bug 1622695. I moved code from composerOverlay.css to messageQuotes.css to apply on both, the composer and the message pane. And I made messageQuotes.css shared, all styles are now the same for all platforms.
When we use the dark background on message pane and mail.citation_color is on default, then citations are almost invisible because the default is #000. What do you think, should I change the default to #007cff? This is the value we use now in dark composer. With this the text is good readable on dark and light background. Or would you propose a other colour?
| Assignee | ||
Comment 2•6 years ago
|
||
Can you try this patch on many messages to check if we regress somehow? I already know that event invitations have white text on white background. When we land this patch I'll file a bug for Calendar.
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
The message body reads normally and it's properly styled, but the quoted text is not readable as it comes with inline style.
| Assignee | ||
Comment 5•6 years ago
|
||
Yes, this is what I wrote about mail.citation_color. The user can set it manually in Prefs > General > Plain Text Messages, the colour button.
| Assignee | ||
Comment 6•6 years ago
|
||
Okay, now with the pref set to #007cff. When the user has set a different colour we don't overwrite it.
Comment 7•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/8156ee771038
Message pane: when prefers-color-scheme: dark is set use the approriate colours. r=mkmelin ui-r=aleca
Description
•