chore: Update firefox version to 126.0.0

This commit is contained in:
Mauro Balades
2024-05-16 19:52:09 +02:00
parent 79910d0158
commit a52e38de44
15 changed files with 51 additions and 68 deletions

View File

@@ -4,7 +4,7 @@ index 0d3993370b4ecbdfaf87cfd3145617343c29dc39..8587f7286476ca0dcce1bb02ef02ce0d
+++ b/toolkit/modules/LightweightThemeConsumer.sys.mjs
@@ -32,7 +32,7 @@ const toolkitVariableMap = [
lwtProperty: "accentcolor",
processColor(rgbaChannels, element) {
processColor(rgbaChannels) {
if (!rgbaChannels || rgbaChannels.a == 0) {
- return "white";
+ return "var(--zen-colors-primary)";
@@ -14,7 +14,7 @@ index 0d3993370b4ecbdfaf87cfd3145617343c29dc39..8587f7286476ca0dcce1bb02ef02ce0d
@@ -334,6 +334,7 @@ LightweightThemeConsumer.prototype = {
theme.additionalBackgrounds
);
_setProperties(root, active, theme, hasTheme);
_setProperties(root, hasTheme, theme);
+ this._zenSetAccentColor(root);
if (hasTheme) {
@@ -33,4 +33,4 @@ index 0d3993370b4ecbdfaf87cfd3145617343c29dc39..8587f7286476ca0dcce1bb02ef02ce0d
+ },
};
function _getContentProperties(doc, active, data) {
function _getContentProperties(doc, hasTheme, data) {