diff --git a/conf/librewolf.overrides.cfg b/conf/librewolf.overrides.cfg index 7192fc25..4f991a7b 100644 --- a/conf/librewolf.overrides.cfg +++ b/conf/librewolf.overrides.cfg @@ -74,9 +74,9 @@ defaultPref("intl.accept_languages", "fi, en"); //pref("pdfjs.enableScripting", false); // Dark mode -pref("ui.systemUsesDarkTheme", 1); +//pref("ui.systemUsesDarkTheme", 1); pref("prefers-color-scheme", "dark"); -pref("pdfjs.viewerCssTheme", 2); +//pref("pdfjs.viewerCssTheme", 2); // Enable Firefox accounts pref("identity.fxaccounts.enabled", true); diff --git a/etc/firefox/policies/policies.json b/etc/firefox/policies/policies.json index 1756f8be..c0b2f381 100644 --- a/etc/firefox/policies/policies.json +++ b/etc/firefox/policies/policies.json @@ -331,6 +331,11 @@ "Type": "boolean", "Value": false }, + "pdfjs.viewerCssTheme": { + "Status": "default", + "Type": "number", + "Value": 2 + }, "privacy.userContext.enabled": { "Status": "locked", "Type": "boolean", @@ -360,6 +365,11 @@ "Status": "locked", "Type": "boolean", "Value": true + }, + "ui.systemUsesDarkTheme": { + "Status": "default", + "Type": "number", + "Value": 1 } }, "SearchEngines": {