-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 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.
-
|
Oh, I missed it |
Beta Was this translation helpful? Give feedback.
-
|
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.
-
|
window.PDFViewerApplication.pdfViewer.container.style.filter = "invert(1) grayscale(1)" |
Beta Was this translation helpful? Give feedback.



It's not possible to enable the dark mode on PDF's within Firefox. It's a security restriction from Firefox.