Open Bug 1821203 (fifty-shades-of-gray) Opened 3 years ago Updated 15 days ago

Gray tones used in Firefox need consolidation

Categories

(Toolkit :: Themes, task, P2)

task

Tracking

()

People

(Reporter: jules, Assigned: jules)

References

(Depends on 1 open bug, Blocks 9 open bugs)

Details

(Whiteboard: [recomp])

There are a few different contrast issues with the usage of grays on different UI layers (e.g. text color, button background, page background, card background, modal background), and the relationship between these layers' gray tones.

A note that Proton colors were inherited from the branding team's redesign, and that gray collection introduced 20 tones of gray. While we don't use all 20 on browser UI, we have introduced a good amount of different grays that have created some issues. Here are a few:

  • A few very similar gray tones are being used in contexts that are not providing enough differences (e.g. see button in dark mode: the hover (#52525E) and active (#5B5B66) states background colors are nearly the same value).
  • Cards in dark mode are nearly the same color as buttons in dark mode. (see https://bugzilla.mozilla.org/show_bug.cgi?id=1711624)
  • New Tab has an unique page background color + card background color relationship compared to the rest of our about pages, in both default and dark mode.
  • In dark mode, Firefox View has the same page background color as New Tab (#2B2A33), diverging from the rest of all other about pages (#1C1B22).

The design systems team needs to audit our usage of grays within Firefox UI layers, and propose a standard collection--similarly to how it was handled in Photon. The goal is to generate a consolidated list by analyzing our current usage of gray tones, checking contrast between gray backgrounds/gray text color combinations in light and dark mode, and addressing gray tones that are too close to one another. We also can benefit from color mixing with transparency and currentColor in certain instances where we can't guarantee different contexts will provide enough contrast.

Component: XUL Widgets → Themes
Blocks: 1826052
Blocks: 1826843
Blocks: 1852603
Whiteboard: [fidefe-reusable-components]
Blocks: 1704347
See Also: → 1826052
Severity: -- → N/A
Priority: -- → P2
Whiteboard: [fidefe-reusable-components] → [recomp]
Blocks: 1303835
See Also: → 1888348
See Also: 1826052
Blocks: 1935220
Alias: fifty-shades-of-gray
Blocks: 1989634
Blocks: 1956616
Depends on: 2057617
You need to log in before you can comment on or make changes to this bug.