Open Liz-chan opened 2 years ago
I just tried this CSS on the options page, and it works fine for me. Try reinstalling the extension to see if it helps.
It happens when I install the extension on a fresh Chromium instance too. It seems that PDFs are always dark now, even in light mode, so that CSS snippet up there that used to make it black in the previous version, still works, but now it just inverts the current dark mode one, so it looks a bit like a beige color with it.
Without the CSS:
With the CSS:
I have no idea what is causing the default dark view for you. You can use the DevTools to see the origin of the dark background when there is no CSS injection.
For me, on a clean install, this is how it looks:
I just noticed that the extension updated to 3.1.0, and the CSS that I use to make all the PDFs dark themed stopped working. I was wondering if it was a byproduct of updating to manifest v3, or a bug that was missed.
Here is the CSS snippet for reference: