Closed Bug 1710617 Opened 3 years ago Closed 3 years ago

Port bug 1709641: Adjust dark mode modal dialog background

Categories

(Thunderbird :: Upstream Synchronization, task)

Tracking

(thunderbird_esr78 unaffected)

RESOLVED FIXED
90 Branch
Tracking Status
thunderbird_esr78 --- unaffected

People

(Reporter: Paenglab, Assigned: Paenglab)

References

Details

Attachments

(2 files, 1 obsolete file)

We need to follow as we have now subdialogs with two background colours.

Attached patch 1710617-dark-dialog.patch (obsolete) — Splinter Review

They use a lighter background for the dialogs that makes the buttons/menulist background not well contrasting to the background. I darkened the button background a bit. What do you think?

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #9221325 - Flags: review?(alessandro)
Comment on attachment 9221325 [details] [diff] [review]
1710617-dark-dialog.patch

Review of attachment 9221325 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for jumping on this so quickly.

Unfortunately this needs a bit more work as the dark theme changes from m-c are breaking a lot of contrast and accessibility in many areas.
I don't really understand how they're picking colors, but anyway, let's deal with this.

We should force our own colors and I think we should stick with the "old" `#2A2A2E` as it's a neutral dark color with AAA readability.

The subdialogs have a strange boxed area with a different color, at least on Linux.
Also the new background from m-c looks horrible when elements light highlighted tabs or text are present. (What's up with this blue on blue on blue tint background trend?

I'll attach a screenshot to show the problems.
Attachment #9221325 - Flags: review?(alessandro)
Attached image Contrast-issues.png

Not sure what's happening but not all subdialogs are styled consistently. Some have dark borders, some have white text on primary buttons, some have black text.
It's a mess.

Using now the #2A2A2E background colour. To better fit to different background colours I'm using now the Photon in-content button colours.

The "Edit Card..." dialog issue isn't a problem of this patch. The abNewCardDialog.xhtml dialog is also used as stand alone dialog for the AB. It loads the themeableDialog.css and dialogShadowDom.js which interfere with the in-content styles. This should be done in a separate bug either by not loading this files in in-content (if this is possible) or by splitting this dialog.

Attachment #9221325 - Attachment is obsolete: true
Attachment #9221427 - Flags: review?(alessandro)
Comment on attachment 9221427 [details] [diff] [review]
1710617-dark-dialog.patch

Review of attachment 9221427 [details] [diff] [review]:
-----------------------------------------------------------------

This is good, thanks.
Attachment #9221427 - Flags: review?(alessandro) → review+
Target Milestone: --- → 90 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/24e9d29d419f
Port bug 1709641: Adjust dark mode modal dialog background. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: