Closed shruti170901 closed 4 years ago
Exposed as 1 big element we can't touch any specific elements.
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);
}
It would be really nice if the darkreader also inverts colours of pdf files local to the device similar to a feature of Adobe Reader