diff --git a/src/browser/components/preferences/jar-mn.patch b/src/browser/components/preferences/jar-mn.patch new file mode 100644 index 000000000..5406d9c97 --- /dev/null +++ b/src/browser/components/preferences/jar-mn.patch @@ -0,0 +1,10 @@ +diff --git a/browser/components/preferences/jar.mn b/browser/components/preferences/jar.mn +index 3b60d18e483bc3c4e9b4309f0dc1e4231b7116b1..aa30bc3de15b68ac90c12142a8851af99e1209ae 100644 +--- a/browser/components/preferences/jar.mn ++++ b/browser/components/preferences/jar.mn +@@ -23,3 +23,5 @@ browser.jar: + content/browser/preferences/more-from-mozilla-qr-code-simple-cn.svg + content/browser/preferences/web-appearance-dark.svg + content/browser/preferences/web-appearance-light.svg ++ ++ content/browser/preferences/zen-looks.js diff --git a/src/browser/components/preferences/main-js.patch b/src/browser/components/preferences/main-js.patch new file mode 100644 index 000000000..cbda82bef --- /dev/null +++ b/src/browser/components/preferences/main-js.patch @@ -0,0 +1,13 @@ +diff --git a/browser/components/preferences/main.js b/browser/components/preferences/main.js +index b9487ece26cfe21a32199a7e36f29b3aa3b8d700..ce02f54cab85d4da8cb306f0d5f3378c9e30df37 100644 +--- a/browser/components/preferences/main.js ++++ b/browser/components/preferences/main.js +@@ -212,7 +212,7 @@ function getBundleForLocales(newLocales) { + ]) + ); + return new Localization( +- ["browser/preferences/preferences.ftl", "branding/brand.ftl"], ++ ["browser/preferences/preferences.ftl", "branding/brand.ftl", "browser/preferences/zen-preferences.ftl"], + false, + undefined, + locales diff --git a/src/browser/components/preferences/preferences-js.patch b/src/browser/components/preferences/preferences-js.patch new file mode 100644 index 000000000..132f0d6ee --- /dev/null +++ b/src/browser/components/preferences/preferences-js.patch @@ -0,0 +1,12 @@ +diff --git a/browser/components/preferences/preferences.js b/browser/components/preferences/preferences.js +index 31ae84f3820aa12a26e10b27718bdc7da277f31b..427d44698ffe5d8154c5503a415ce9ec98982f3b 100644 +--- a/browser/components/preferences/preferences.js ++++ b/browser/components/preferences/preferences.js +@@ -205,6 +205,7 @@ function init_all() { + register_module("panePrivacy", gPrivacyPane); + register_module("paneContainers", gContainersPane); + register_module("paneTranslations", gTranslationsPane); ++ register_module("paneZenLooks", gZenLooksAndFeel); + if (Services.prefs.getBoolPref("browser.preferences.experimental")) { + // Set hidden based on previous load's hidden value. + document.getElementById("category-experimental").hidden = diff --git a/src/browser/components/preferences/preferences-xhtml.patch b/src/browser/components/preferences/preferences-xhtml.patch new file mode 100644 index 000000000..c2f63b805 --- /dev/null +++ b/src/browser/components/preferences/preferences-xhtml.patch @@ -0,0 +1,49 @@ +diff --git a/browser/components/preferences/preferences.xhtml b/browser/components/preferences/preferences.xhtml +index 38fba9a7265cbcec406fd4145014083286fa798e..38281e4fc127543052064020ebf14ad0e72abda5 100644 +--- a/browser/components/preferences/preferences.xhtml ++++ b/browser/components/preferences/preferences.xhtml +@@ -42,6 +42,10 @@ + href="chrome://browser/skin/preferences/containers.css" + /> + ++ + + + +@@ -52,6 +56,7 @@ + + + ++ + + + +@@ -111,6 +116,17 @@ + + + ++ ++ ++ ++ ++ + + + diff --git a/src/browser/components/preferences/zen-looks.js b/src/browser/components/preferences/zen-looks.js new file mode 100644 index 000000000..caab843e1 --- /dev/null +++ b/src/browser/components/preferences/zen-looks.js @@ -0,0 +1,6 @@ + +var gZenLooksAndFeel = { + init() { + + } +}; diff --git a/src/browser/components/preferences/zenLooksAndFeel.inc.xhtml b/src/browser/components/preferences/zenLooksAndFeel.inc.xhtml new file mode 100644 index 000000000..ccf3e942f --- /dev/null +++ b/src/browser/components/preferences/zenLooksAndFeel.inc.xhtml @@ -0,0 +1,13 @@ +