You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Match theme colors" is a great and simple toggle to get pdf preview in darkmode. However, I found that the contrast could be higher if colors are used in the document. In my specific case, blue links were represented as light gray. This makes it difficult to distinguish links from the (white) text.
I propose alternative darkmodes that help with this issue. Here are some ideas what such darkmodes could achieve:
invert colors: This is a good way to keep the initial contrast and works well if many colors are present. This is present in some pdf viewers (like Gnome's default document viewer).
rotate hue: After simply inverting colors, we end up with completely different colors. (red -> cyan, yellow -> blue, green -> magenta) By additionally rotating hue by 180 degrees, darker colors will still be represented by lighter colors. Additionally, the color tone will end up similar to the initial color.
changing grayscale: While keeping contrast is good, one might actually prefer less contrast for a nicer experience. This can be achieved by adapting grayscale.
For instance, there could be the following modes:
match theme colors (already available)
invert
invert and keep colors (this is invert and hue rotate by 180 degrees)
invert and less contrast
maybe additional light modes
Note that Visual Studio Code's extension LaTeX Workshop offers several settings for manipulating colors of the previewed pdf. While I believe that such settings would contradict the design philosophies of Setzer, those settings might give ideas for the modes I mentioned or further modes. Here are the mentioned settings (populated with my current choice):
The text was updated successfully, but these errors were encountered:
Thanks for posting this info. I don't think we have to offer more than one extra mode though.
About the links: currently the whole page is converted to the theme's foreground color. But we actually know where the links are, so we might just color those rectangles in a different color, the theme's link color. That should solve this issue in most cases.
I don't think we should have more special casing. Also there's no easy way to detect those objects in a pdf. If something is hard to read, you can always turn off color matching temporarily..
"Match theme colors" is a great and simple toggle to get pdf preview in darkmode. However, I found that the contrast could be higher if colors are used in the document. In my specific case, blue links were represented as light gray. This makes it difficult to distinguish links from the (white) text.
I propose alternative darkmodes that help with this issue. Here are some ideas what such darkmodes could achieve:
For instance, there could be the following modes:
Note that Visual Studio Code's extension LaTeX Workshop offers several settings for manipulating colors of the previewed pdf. While I believe that such settings would contradict the design philosophies of Setzer, those settings might give ideas for the modes I mentioned or further modes. Here are the mentioned settings (populated with my current choice):
The text was updated successfully, but these errors were encountered: