Closed Bug 1721173 Opened 4 years ago Closed 4 years ago

Hardcoded text colors don’t play well with high-contrast themes

Categories

(Thunderbird :: Theme, defect)

All
Linux
defect

Tracking

(thunderbird91? fixed)

RESOLVED FIXED
92 Branch
Tracking Status
thunderbird91 ? fixed

People

(Reporter: valentin, Assigned: Paenglab)

Details

Attachments

(4 files)

Attached image HighContrast.png

Open e.g. the Account Settings tab using a high-contrast theme.

Some text labels (e.g. menu items) are hardcoded as #fff, and thus
are barely readable when highlighted in a dark theme.

Even worse, some text labels (for example on the Account Actions
dropdown button), hardcoded as #000, become totally invisible
when on a black background. Seriously, it took me a couple of
minutes (and the help of my bloody screen reader!) to understand
where that damned button had gone.

This is a regression (see #1348573, marked as fixed, or much older bugs
such as #469300); pre-photon the user theme was all but ignored
and replaced with a pseudo-Adwaita or AdwaitaDark theme.

Attached image HighContrastInverse.png

(I should mention that all this is with version 92.0a1, build 20210719095626)

Attached image Adwaita.png

We need to more synchronize this button/popups after the Proton changes.

Assignee: nobody → richard.marti
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9232088 - Flags: review?(alessandro)
Comment on attachment 9232088 [details] [diff] [review] 1721173-accountActionsButton.patch Review of attachment 9232088 [details] [diff] [review]: ----------------------------------------------------------------- Good fixes, thanks.
Attachment #9232088 - Flags: review?(alessandro) → review+
Target Milestone: --- → 92 Branch

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/d0b4683f5089
Use the in-content colors for the accountActionsButton. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

Comment on attachment 9232088 [details] [diff] [review]
1721173-accountActionsButton.patch

[Approval Request Comment]
User impact if declined: not so good theme integration in Account manager
Testing completed (on c-c, etc.): on c-c
Risk to taking this patch (and alternatives if risky): low

Attachment #9232088 - Flags: approval-comm-beta?

Comment on attachment 9232088 [details] [diff] [review]
1721173-accountActionsButton.patch

[Triage Comment]
Approved for beta

Attachment #9232088 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: