Experimental: dark mode / themes #3432
Replies: 13 comments 4 replies
-
Amazing! Finally! How can I make it permanently, every time I restart it, it goes back to white theme. |
Beta Was this translation helpful? Give feedback.
-
@omanuelcosta Other color values might work as well, but these are the values that I like. |
Beta Was this translation helpful? Give feedback.
-
Bug in "dark mode": When using "dark mode" to view epub documents, the colors of all included images are inverted. Dark colors become light and light colors become dark. They should not be. Only text and background colors should change. Images should not be affected. This problem is seen in v 3.5.15481 (prerelase) when using Ctrl-K / Switch to next theme The screengrabs below were taken under Windows 10 using "Switch to next theme" with SumatraPDF v3.5.15481 Light mode, showing correct image coloration: Dark mode showing incorrect image coloration: Zip containing minimal epub demonstrating the bug: |
Beta Was this translation helpful? Give feedback.
-
(Edited to add pdf document.) While inverting colors is an easy way to approximate "dark mode", "dark mode" and "invert colors" are NOT the same. There are other document readers which implement "dark mode" as I've described: they reverse text coloration but preserve image coloration. It'd be really nice if SumatraPDF did the same. An example is the free edition of "PDF-XChange Editor" by Tracker Software Products. In dark mode, it displays PDF documents with a dark backgound and white text but preserves the colors of embedded images. Unfortunately, it can't display epub documents. Another slightly different example is how "dark mode" is implemented by these GitHub pages when viewed in Firefox or Chrome. Again, text is shown as white letters on a black background, while image colors are unchanged. As an example, below are screengrabs of a document which I created in LibreOffice Writer and exported to PDF. It contains text and an image. (I reduced the sizes of the screengrabs.) The PDF document: As seen while editing in Writer (with dark mode UI) |
Beta Was this translation helpful? Give feedback.
-
Excluding images from color inversion, can this be implemented? |
Beta Was this translation helpful? Give feedback.
-
I also vote for this feature - having images render in their original non-inverted state while the rest is dark. It's painful on the eyes to have LSD-like images with all kinds of crazy pink when reading at night. I strongly believe this would be a very nice selling point for Sumatra. Every other app can do simple eyesore-inducing full-scale inversion. |
Beta Was this translation helpful? Give feedback.
-
For the moment I'm using Calibre to read ePubs in dark mode, but it comes with a lot of baggage. I'd really like to be able to use Sumatra: the ease of use of its user interface is far better. |
Beta Was this translation helpful? Give feedback.
-
Plus 1 on not inverting images Similar to how the Dark Reader extension does in web browsers. I know it's possible because before firefox made a version years ago that said you couldn't use extensions on pdf documents I simply used Dark Reader just like I did on websites. PDF documents looked amazing. I don't think the dark reader code was that complicated at the time, i think that was before they created the dynamic mode so it was just filter and filter+. You might even be able to reach out to the dark reader dev on a solution to this. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to get the bookmarks sidebar in dark mode, at the same time as the document, in SumatraPDF-3.5.2? I previously had that working fine in v3.4.6, which I've been using up until now. Installing 3.5.2 over it has broken it. If I set the theme to dark or darker, in 3.5.2, I get a dark bookmarks sidebar, but the document is then on a white background. If I set it to Light, I get a dark background for the document but a white, eye straining, background for the bookmarks. I'm not clear if there was a theme menu in v3.4.6 - possibly I just did it all through the Advanced Settings text file. Is so, is 3.5.2 inverting my settings, to make the new dark mode? I think I'll revert to v3.4.6, for now, so no rush for a reply. FWIW, here's my SumatraPDF-settings.txt contents;
|
Beta Was this translation helpful? Give feedback.
-
If one day you want to make a theme or an option to "Follow system theme" automatically, maybe this registry key can serve : Thank you very much for making it possible to set the colors in the dark theme (with 5ceb24a). This is something I was missing. 💛 |
Beta Was this translation helpful? Give feedback.
-
Theme = Darker |
Beta Was this translation helpful? Give feedback.
-
I find the "active tab" color being not very clear when using the Dark (or Darker) theme. |
Beta Was this translation helpful? Give feedback.
-
any update on dark mode not inverting images? |
Beta Was this translation helpful? Give feedback.
-
Thanks to work of @avorobey we now have experimental support for dark theme.
You can get it in latest pre-release version: https://www.sumatrapdfreader.org/prerelease
To use it:
Ctrl + K
to open Command Palettenext theme
to invokeSwitch to next theme command
To report issues related to dark mode: #3429
Beta Was this translation helpful? Give feedback.
All reactions