Closed Bug 1857260 Opened 2 years ago Closed 2 years ago

Improve macOS theme with titlebar on

Categories

(Firefox :: Theme, defect)

defect

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

Right now we use the native dialog background rather than the custom colors.

Right now we were relying on the OS colors
(-moz-dialog/-moz-dialogtext/ActiveCaption/CaptionText).

The titlebar ones did the right thing but -moz-dialog and co didn't.

This caused two issues:

  • With the titlebar checkbox on, we'd use the system colors even
    without prefers-contrast. This is specially noticeable on macOS.

  • With prefers-contrast. We used -moz-dialog for the background and the
    toolbar on macOS. This caused little contrast.

Support the -moz-headerbar colors in all desktop platforms, and use
those on Linux + HCM, and use browser-custom-colors on Windows / macOS
to override the toolbox background explicitly to fix it.

This setup is a little bit more consistent with all other colors.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/296779994fe0 More explicitly use custom colors for the toolbox. r=dao,desktop-theme-reviewers,win-reviewers,mhowell
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Regressions: 1857743
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: