-
I'm using firefox extension. |
Beta Was this translation helpful? Give feedback.
Answered by
Gusted
Oct 21, 2021
Replies: 3 comments 2 replies
-
It's not possible to enable the dark mode on PDF's within Firefox. It's a security restriction from Firefox. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bdmariobd
-
Oh, I missed it |
Beta Was this translation helpful? Give feedback.
0 replies
-
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);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not possible to enable the dark mode on PDF's within Firefox. It's a security restriction from Firefox.