Bug 1961393 - Show current theme on about:editprofile if not in default list. r=profiles-reviewers,tbersentes,jhirsch

Differential Revision: https://phabricator.services.mozilla.com/D247444
This commit is contained in:
Niklas Baumgardner
2025-05-14 16:09:23 +00:00
committed by nbaumgardner@mozilla.com
parent e5d15be83d
commit 85f4ed5a3b
8 changed files with 140 additions and 41 deletions

View File

@@ -723,8 +723,8 @@ class SelectableProfileServiceClass extends EventEmitter {
let theme = isDark && !!data.darkTheme ? data.darkTheme : data.theme;
let themeFg = theme.toolbar_text;
let themeBg = theme.toolbarColor;
let themeFg = theme.toolbar_text || theme.textcolor;
let themeBg = theme.toolbarColor || theme.accentcolor;
if (theme.id === DEFAULT_THEME_ID || !themeFg || !themeBg) {
window.addEventListener(