Show HN: pdfdark.com – view pdf's in "dark mode" all on client
22 points| iamdan | 1 year ago |pdfdark.com
It uses Mozilla's pdf.js library to load and render a PDF and then inverts the colors with CSS. It has basic controls like zoom in, zoom out, reset zoom, previous and next page. There are some keyboard shortcuts that you can find by toggling the "q" key.
drops|1 year ago
miles|1 year ago
KTibow|1 year ago
johnisgood|1 year ago
If interested, I am willing to look for it, might be someone I follow.
salutis|1 year ago
imiric|1 year ago
iamdan|1 year ago
matznerd|1 year ago
imiric|1 year ago
There are also alternative frontends[2] that support dark mode, like a sibling comment mentioned.
Though it would be nice if the native theme at least respected the user's `prefers-color-scheme` setting.
[1]: https://github.com/pyxelr/hacker-news-bluish-gray
[2]: https://github.com/cheeaun/awesome-hacker-news#web
vednig|1 year ago
iamdan|1 year ago
jktzes|1 year ago
[deleted]