about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2023-08-08 23:57:27 +0200
committeraszlig <aszlig@nix.build>2023-08-09 00:02:12 +0200
commitf3379fd38ce32f8da4b78bb6aa57c29b37ec62cf (patch)
tree6bec3d0396e47e98b5f3d73492a8f4449ff8d0c3 /pkgs
parent130aad3bcd43535d045e02a5572c0d2337348e1b (diff)
Revert "firefox: Make FOUC less annoying"
This reverts commit e868bfeca5501c7c02f1fc1013ea6cc7e79af043.

Unfortunately, this causes some sites to be outright unreadable since
they seem to rely on a certain set of default colors.

Given that the FOUC is already pretty minimal in Firefox, I think it's
really not worth breaking a bunch of sites just to get rid of the
flashing, at least until we found a better way to prevent it entirely.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/aszlig/firefox/default.nix7
1 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/aszlig/firefox/default.nix b/pkgs/aszlig/firefox/default.nix
index 05e0a095..12fb7786 100644
--- a/pkgs/aszlig/firefox/default.nix
+++ b/pkgs/aszlig/firefox/default.nix
@@ -91,13 +91,6 @@ in wrapFirefox firefoxNoSigning {
     lockPref('privacy.trackingprotection.socialtracking.enabled', true);
     lockPref('reader.color_scheme', 'dark');
 
-    // Make flash of unstyled content less annoying by defaulting to
-    // Startpage's dark color scheme.
-    lockPref('browser.display.background_color', '#171B25');
-    lockPref('browser.display.foreground_color', '#EBECF7');
-    lockPref('browser.anchor_color', '#A7B1FC');
-    lockPref('browser.visited_color', '#AD71BC');
-
     pref('browser.uiCustomization.state', ${jsString (builtins.toJSON {
       placements = {
         widget-overflow-fixed-list = [];