1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-08 16:30:00 +02:00

chore: Update Zen Browser styles for dark mode compatibility

This commit is contained in:
Mauro Balades 2024-07-19 21:50:11 +02:00
parent e1e910e339
commit 16f7b06cec
312 changed files with 606 additions and 357 deletions

View file

@ -1,5 +1,5 @@
diff --git a/browser/base/content/browser-init.js b/browser/base/content/browser-init.js
index a79a9734619f89639c15087fe28e9615354a7209..b7e6a413e02ed047e19de1db3866087a1fdc5c4a 100644
index a79a9734619f89639c15087fe28e9615354a7209..edaef604d33d76b570571e1bbb2ebc590e045d87 100644
--- a/browser/base/content/browser-init.js
+++ b/browser/base/content/browser-init.js
@@ -237,6 +237,9 @@ var gBrowserInit = {
@ -7,7 +7,7 @@ index a79a9734619f89639c15087fe28e9615354a7209..b7e6a413e02ed047e19de1db3866087a
BrowserSearch.init();
BrowserPageActions.init();
+
+ Services.scriptloader.loadSubScript("chrome://browser/content/zenThemeModifier.js", this);
+ Services.scriptloader.loadSubScript("chrome://browser/content/zenThemeModifier.js", window);
+
if (gToolbarKeyNavEnabled) {
ToolbarKeyboardNavigator.init();