-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't apply to PDF files opened on firefox #1541
Comments
Duplicate of #374 |
Workaround (one click per PDF): Per #374 (comment) |
Firefox won't allow us to access pdf pages. |
If you use Firefox, you can edit userContent.css like this: @media (prefers-color-scheme: dark){
.pdfViewer{filter: invert(1) hue-rotate(180deg);}
} If you use Chrome or Edge, install the extention "PDF Reader", then edit the extention option like this: html[data-theme*="dark"] .pdfViewer{
filter: invert(1) hue-rotate(180deg);
} |
So if I open a PDF file (a guess that it can also apply to txt or word documents) it doesn't dark the whites, it would be a cool feature to have.
Altough that got me thinking... if there exists an open source program that is like dark reader but for these kind of files, it's just a matter of implementation (and if anyone has found one like that or maybe a plugin link it to me because I would like to download it)
The text was updated successfully, but these errors were encountered: