mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 01:16:35 +00:00
Added theme color deduction for workspace gradients and fixed macos titlebar buttons display
This commit is contained in:
@@ -645,6 +645,7 @@ var gZenLooksAndFeel = {
|
||||
colorElemParen.setAttribute('selected', 'true');
|
||||
}
|
||||
colorElemParen.addEventListener('click', () => {
|
||||
Services.prefs.setBoolPref('zen.theme.color-prefs.use-workspace-colors', false);
|
||||
Services.prefs.setStringPref('zen.theme.accent-color', color);
|
||||
});
|
||||
colorElemParen.appendChild(colorElem);
|
||||
@@ -967,11 +968,6 @@ var gZenCKSSettings = {
|
||||
};
|
||||
|
||||
Preferences.addAll([
|
||||
{
|
||||
id: 'zen.theme.toolbar-themed',
|
||||
type: 'bool',
|
||||
default: true,
|
||||
},
|
||||
{
|
||||
id: 'zen.sidebar.enabled',
|
||||
type: 'bool',
|
||||
@@ -1086,5 +1082,10 @@ Preferences.addAll([
|
||||
id: "zen.glance.enabled",
|
||||
type: "bool",
|
||||
default: true,
|
||||
}
|
||||
},
|
||||
{
|
||||
id: "zen.theme.color-prefs.use-workspace-colors",
|
||||
type: "bool",
|
||||
default: false,
|
||||
},
|
||||
]);
|
||||
|
Reference in New Issue
Block a user