Closed Bug 1998747 Opened 21 days ago Closed 9 hours ago

Contrast insufficient for account hub banner notifications in dark mode

Categories

(Thunderbird :: Account Manager, defect)

Thunderbird 144
defect

Tracking

(thunderbird144?, thunderbird145 affected, thunderbird146 affected, thunderbird147 fixed)

RESOLVED FIXED
147 Branch
Tracking Status
thunderbird144 ? ---
thunderbird145 --- affected
thunderbird146 --- affected
thunderbird147 --- fixed

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The text color of the error banner does not have enough contrast in dark mode. It's supposed to be --color-text-base-dark, but instead it is --color-critical-pressed-dark. The color is correct for the light theme, so the text color should probably be updated to light-dark(var(--color-critical-pressed-light), var(--color-text-base-dark)).

Code: https://searchfox.org/comm-central/rev/5460c0728bdcf885644185f2d00768b6d4e2e7bf/mail/themes/shared/mail/accountHubForms.css#445
Figma: https://www.figma.com/design/1wGTkoIgRfyEbLeiW1XeIx/Design-System--%3E-Components?node-id=2898-2380&t=u1wjlHZofD73J0vT-4

This is happening on the regular messages as well not just error

Summary: Contrast insufficient for account hub banner error notifications in dark mode → Contrast insufficient for account hub banner notifications in dark mode

I think the other messages are using the correct colors as specified in figma though. But it wouldn't hurt to double check.

Assignee: nobody → martin
Status: NEW → ASSIGNED
Target Milestone: --- → 147 Branch
Severity: -- → S4

Pushed by martin@humanoids.be:
https://hg.mozilla.org/comm-central/rev/e183de6832fa
Fix account hub notification text colors in dark mode. r=aleca,rtaylor

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

Attachment

General

Created:
Updated:
Size: