News for hackers. Stuff that matters.
Re:Why might reading make people myopic? by Santosh83 on Friday October 26, 2018 @09:28AM (#18308961)
But how to invert the colour of web pages? Dark themes darken the UI but the webpage is almost always still dark text on light background.
Re:Why might reading make people myopic? by kbutler on Friday October 26, 2018 @10:01AM (#18309274)
There are lots of addons available - here is a highly rated one: https://darkreader.org/
Re:Why might reading make people myopic? by sdfin on Friday October 26, 2018 @07:11PM (#18313365)
Thanks for sharing, that addon works marvelously. I tried similar ones before but they made various pages unreadable. This one gets most pages right.
Re:Why might reading make people myopic? by kroltan on Friday October 26, 2018 @09:47AM (#18309143)
Just add the

    filter: invert(100%);
style's on a page's HTML. There are userscripts that do that automatically for you.
Re:Why might reading make people myopic? by lordnacho on Friday October 26, 2018 @01:53PM (#18311442)
Stylus Chrome extension has alternative styles for loads of websites. Eg I make GitLab dark with light text using a downloaded style sheet that someone made, and my HN as well.
Re:Why might reading make people myopic? by anvandare on Friday October 26, 2018 @09:40AM (#18309072)
If you're on linux: `xcalib -i -a` turns everything negative.
Re:Why might reading make people myopic? by walterbell on Friday October 26, 2018 @03:46PM (#18312219)
Triple-click home button on iOS, via accessibility settings.
Re:Why might reading make people myopic? by jraph on Friday October 26, 2018 @01:58PM (#18311471)
On Firefox you can use Dark Background and Light Text. Also works on Firefox Mobile, good results with a led screen.