From ae0e3beb9ad699b3b059b29c39b81cd03f5ba56b Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 14 May 2024 11:49:17 +0300 Subject: [PATCH] firefox: fix pdf dark mode --- etc/firefox/policies/policies.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/etc/firefox/policies/policies.json b/etc/firefox/policies/policies.json index 185c7e1f..57e7478f 100644 --- a/etc/firefox/policies/policies.json +++ b/etc/firefox/policies/policies.json @@ -336,10 +336,20 @@ "Type": "boolean", "Value": false }, - "pdfjs.viewerCssTheme": { + "pdfjs.forcePageColors": { "Status": "default", - "Type": "number", - "Value": 2 + "Type": "boolean", + "Value": true + }, + "pdfjs.pageColorsBackground": { + "Status": "default", + "Type": "string", + "Value": "#000000" + }, + "pdfjs.pageColorsForeground": { + "Status": "default", + "Type": "string", + "Value": "#ffb700" }, "privacy.userContext.enabled": { "Status": "locked",