mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-04 21:15:16 +00:00
chore: Update Zen theme CSS to use CSS variables for element separation
This commit is contained in:
24
src/toolkit/modules/ActorManagerParent-sys-mjs.patch
Normal file
24
src/toolkit/modules/ActorManagerParent-sys-mjs.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff --git a/toolkit/modules/ActorManagerParent.sys.mjs b/toolkit/modules/ActorManagerParent.sys.mjs
|
||||
index 71409e58271802fc506999712519df63eff3b1a6..72b51d849bcbf7f1c0a7418da545bbbfb2b55d15 100644
|
||||
--- a/toolkit/modules/ActorManagerParent.sys.mjs
|
||||
+++ b/toolkit/modules/ActorManagerParent.sys.mjs
|
||||
@@ -666,6 +666,19 @@ if (!Services.prefs.getBoolPref("browser.pagedata.enabled", false)) {
|
||||
};
|
||||
}
|
||||
|
||||
+JSWINDOWACTORS.ZenThemeMarketplace = {
|
||||
+ parent: {
|
||||
+ esModuleURI: "chrome://browser/content/zen-components/actors/ZenThemeMarketplaceParent.sys.mjs",
|
||||
+ },
|
||||
+ child: {
|
||||
+ esModuleURI: "chrome://browser/content/zen-components/actors/ZenThemeMarketplaceChild.sys.mjs",
|
||||
+ events: {
|
||||
+ DOMContentLoaded: {},
|
||||
+ },
|
||||
+ },
|
||||
+ matches: ["https://*.zen-browser.app/*"],
|
||||
+};
|
||||
+
|
||||
if (AppConstants.platform != "android") {
|
||||
// Note that GeckoView has another implementation in mobile/android/actors.
|
||||
JSWINDOWACTORS.Select = {
|
||||
Reference in New Issue
Block a user