Live data from Hacker News

Please add a "dark" theme for Hacker News

news.ycombinator.com

51–60 of 81 posts

Re: Please add a "dark" theme for Hacker News

#51
post #22

What I'd* like to do is let people upload their own CSS and have HN serve it back to them. Then you can make your own darkmode (or anymode), and people can share them so you can reuse someone else's. One question this is contingent on: does there exist a well-defined secure subset of CSS such that we don't have to worry about weird vulnerabilities? * actually I think this was originally kogir's idea

Custom CSS risks being scope creep, IMO. A dark mode with options of a standard dark and a pure black dark would likely account for 99% of use anyways.

https://jessicaotis.com/academia/never-use-white-text-on-a-b...

Myself and others with astigmatism literally cannot use "dark mode", tastefully done it's fine tho, talking stuff like Nord theme, monkeytype.com etc as long as it's not straight black and white.

Re: Please add a "dark" theme for Hacker News

#53

Whenever this topic came up about a decade ago, the argument against dark mode/theming was that it added complexity to Hacker News which has the explicit goal of being super simple. Now, with dark mode able to being controlled by CSS media queries and also able to be done automatically according to system preferences, the complexity argument doesn't hold. It's less complex than the later-added comment collapsing beha…

You know what would be even simpler? Not specifying colors or typefaces in the CSS at all and letting the user’s browser configuration style it.

Re: Please add a "dark" theme for Hacker News

#54
post #8

Earlier quoted context omitted.

Or tampermonkey and 2 minutes of writing CSS overrides. What, you people are hackers, aren't you?

So writing CSS overrides for every site I consume sounds healthy and fair to you?

No, just the ones you really care about.

Re: Please add a "dark" theme for Hacker News

#55
post #5

The HN theme violates WCAG accessibility standards for text contrast[1] (which you can verify with your browser's dev tools), has paragraphs that are almost twice as wide as recommended for readability[2], uses font sizes that are unreadable for people with even slight impairments of visual acuity, and is near-unusable on small mobile devices. I'm all for improvements to the theme, which have been overdue for a decad…

I would probably drop HN altogether if it constrained itself to a tiny 3” column down the middle of my browser like other obnoxious sites do. I paid for a nice 27” monitor and I expect to use the whole width. If I wanted to constrain the content to a narrow column I would resize the browser window. The content width should be left to user preference.

Re: Please add a "dark" theme for Hacker News

#59

someone posted a ublock origin filter a couple weeks ago... ``` !Hacker News dark theme news.ycombinator.com##body:style(color: #CCCCCC !important; background-color: #1A1A1A !important; ) news.ycombinator.com##table:style(background-color: #2B2B2B !important; ) news.ycombinator.com##input:style(background-color: #DFDFDF !important; ) news.ycombinator.com##table, tr, td, .pagetop, .score:style(color: #CCCCCC !importan…

[dead]
Post reply on HN