Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a dark theme to the pdf viewer #322

Closed
ismasou opened this issue Nov 20, 2017 · 7 comments
Closed

Add a dark theme to the pdf viewer #322

ismasou opened this issue Nov 20, 2017 · 7 comments

Comments

@ismasou
Copy link

ismasou commented Nov 20, 2017

Description

I just decided to start using VS code for my TeX and I'm in love with this plugin, the only reason I'm actually switching is because of the dark theme of VS code, and I was wondering if you could implement a dark theme for the viewer too.

How to reproduce

The easiest way would be to just switch dark text into white and the white background black. The other colors should stay the same.

@James-Yu
Copy link
Owner

I'm afraid that this won't be implemented. The proposed plan may only work well with b/w documents, but it may cause great problems for color ones.

@henrikdahlberg
Copy link

What exactly is the issue? Colored documents will have their colors inverted as well, that's the entire point. I usually inverted everything on my screen, webpages for instance, and there are smart inverters that don't invert images. Color inversion is a feature that essentially every PDF viewer has implemented and it's annoying to have to use an external one when working with LaTeX Workshop.

@James-Yu
Copy link
Owner

James-Yu commented Dec 11, 2017

While I am still finding what you said is a must for PDF viewer in my installation of Adobe Acrobat Reader DC, I'd unfortunately say this feature is currently not on the list to implement.

edit: I found it in Adobe Reader! It's so buried in the settings.

@bvibhav
Copy link

bvibhav commented Apr 11, 2018

I usually use Adobe reader on Linux tiled side by side with VS Code. Ctrl+I and you have inverted colors. You can also use

\usepackage{xcolor} \pagecolor[rgb]{0,0,0} \color[rgb]{1,1,1}
I prefer external reader as debug information takes the whole space.

@tamuratak
Copy link
Contributor

Related to mozilla/pdf.js/issues/2071.

@fuzihaofzh
Copy link

I also hope this feature could be considered. I just wonder whether using the gray scale mode could simplify the development? Many pdf viewers (e.g. pdf expert) provide many background colors mode. In these modes, the document is converted into grayscale and then render the user-defined colors. I think this could make things simpler?

@tamuratak
Copy link
Contributor

Repository owner locked as resolved and limited conversation to collaborators May 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants