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

Unable to change the text and background colors. #2071

Open
zhyi opened this issue Sep 4, 2012 · 6 comments

Comments

@zhyi
Copy link

commented Sep 4, 2012

From Options->Content->Colors, I can change the colors for text and background, but these settings are simply ignored. Black-on-white text can strain the eyes, so I think this feature is very important for the sake of health.

Standalone PDF readers, e.g. Adobe Reader, do support changing the colors for customizing an eye-friendly contrast.

@aleksejrs

This comment has been minimized.

Copy link

commented Feb 1, 2013

Is there a CSS workaround for this?

@islisis

This comment has been minimized.

Copy link

commented Feb 22, 2013

This is an important feature and accessibility option. Worse still, currently some font effects will obey Firefox's html user font colors, leading to unreadable text.

@raztd

This comment has been minimized.

Copy link

commented Oct 21, 2017

Any new updates on this? I would thrilled if this feature would be implemented in pdf.js :-)

@yardenac

This comment has been minimized.

Copy link

commented Apr 6, 2018

+1 please

@isgursoy

This comment has been minimized.

Copy link

commented Jan 31, 2019

+1

@burtonator

This comment has been minimized.

Copy link

commented Aug 18, 2019

Any update this... this is needed so that we can change the colors of the reader / pdf for dark mode. Where are these colors even set btw? If someone could point me to the right directly I might be able to hack it to at least build an experimental white on black version instead of a black on white version.

We can't just invert the colors because color images will break.

filter: invert(85%)

Does make regular documents go dark but the images are then broken as their color scheme is now invalid.

I think one strategy might be to make the document greyscale but then you lose the colors which isn't fun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.