arXiv / html_feedback

Supports a student project developing a UI for feedback on arXiv articles rendered as html.
MIT License
17 stars 3 forks source link

Dark mode is broken, just ignore the system/browser preference and use light mode. #53

Open asmunder opened 1 year ago

asmunder commented 1 year ago

Describe the issue

Description: Articles look very weird in dark mode, using Firefox on Mac. The page background is dark, and the text is intermittently black and white from one paragraph to another.

My best suggestion for version 1 of the HTML paper feature is to ignore if the system is in dark or light mode, and just use light background with dark text.

Dark mode will almost by definition also clash with figures etc., so it has extremely limited usefulness for this. And of course the PDFs are always black text on white.

Feel free to attach a screenshot (or document) link below:

image

Auto Fill Data - !!! Please do not edit below this line !!!


Id: 3292d3c7-705d-4912-94d8-668b98643f0f

chrisjcameron commented 10 months ago

The issue with black text in darkmode will be resolved when the html feature rolls out. Darkmode settings should be persistent, so you should only need to set it once. Thanks for the feedback!

gwern commented 6 months ago

Dark mode will almost by definition also clash with figures etc., so it has extremely limited usefulness for this.

This is soluble. Figures can be inverted (either by straight negation or negation+rotating colors) to look much better in dark mode. While it is not possible in the context of Arxiv to annotate images with whether they should be inverted, you can use heuristics to classify them, such as the InvertOrNot.com API (which uses a NN).