feat(firefox): set ui.systemUsesDarkTheme

This commit is contained in:
Felix Schröter 2020-08-15 12:26:25 +02:00
parent d1a34c591b
commit a8097fbaa9
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -9,7 +9,7 @@ let
sharedSettings = {
# Privacy recommendations from https://www.privacytools.io/browsers/#about_config
"privacy.firstparty.isolate" = true;
"privacy.resistFingerprinting" = true;
# "privacy.resistFingerprinting" = true; # forces ui.systemUsesDarkTheme to false
"privacy.trackingprotection.fingerprinting.enabled" = true;
"privacy.trackingprotection.cryptomining.enabled" = true;
"privacy.trackingprotection.socialtracking.enabled" = true;
@ -28,6 +28,7 @@ let
"network.IDN_show_punycode" = true;
# Theme
"ui.systemUsesDarkTheme" = prefer-dark-theme;
"extensions.activeThemeID" = concatStrings
[ "firefox-compact-"
(if prefer-dark-theme then "dark" else "light")