Closed Bug 1749375 Opened 4 years ago Closed 4 years ago

Use dark variant theme variant for PBM windows

Categories

(Firefox :: Theme, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: emz, Assigned: emz)

References

Details

(Whiteboard: [fxatps-privacy-segmentation])

Attachments

(3 files)

No description provided.
Blocks: 1749377
Blocks: 1749542

When privacy segmentation is enabled via pref, switch PBM windows to dark theme,
while retaining light theme for normal windows.

This patch does not change behavior if the active theme is already dark, e.g.
the default theme in dark mode, or firefox-compact-dark. In this case both
normal windows and PBM windows use dark theme.

A dark theme variant is only applied to PBM if the active theme sets darkTheme data.
This means for themes like firefox-compact-light we will not use dark styling in PBM.

Depends on D135247

Attachment #9258515 - Attachment description: WIP: Bug 1749375 - Use dark theme in PBM for privacy segmentation. r=dao! → WIP: Bug 1749375 - Use dark theme in PBM for privacy segmentation. r=#desktop-theme-reviewers!
Attachment #9258515 - Attachment description: WIP: Bug 1749375 - Use dark theme in PBM for privacy segmentation. r=#desktop-theme-reviewers! → Bug 1749375 - Use dark theme in PBM for privacy segmentation. r=#desktop-theme-reviewers!
Summary: Use dark variant of default theme for PBM windows if privacy segmentation is enabled → Use dark variant theme variant for PBM windows
No longer depends on: 1748877
Attachment #9258515 - Attachment description: Bug 1749375 - Use dark theme in PBM for privacy segmentation. r=#desktop-theme-reviewers! → Bug 1749375 - Use dark theme for PBM windows. r=#desktop-theme-reviewers!
Pushed by pzuhlcke@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e1be6a634b76 Use dark theme for PBM windows. r=desktop-theme-reviewers,dao https://hg.mozilla.org/integration/autoland/rev/7afd82e404ae Tests for dark PBM window theme. r=desktop-theme-reviewers,dao https://hg.mozilla.org/integration/autoland/rev/e532a72c6ae8 Put PBM dark theme behind a pref. r=desktop-theme-reviewers,dao
Blocks: 1751481
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
See Also: → 1828649
Regressions: 1844346
Blocks: 1846500
See Also: → 1848754
See Also: → 1884488
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: