question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ugly background color on news.ycombinator.com

See original GitHub issue

With the dynamic theme, the main table of news.ycombinator.com has a kind of ugly green background. I tried to fix it with this CSS:

CSS
#hnmain {
    background-color: #181a1b !important;
}

…but then it doesn’t change along with the background of the rest of the page when changing brightness, contrast, sepia, or grayscale. Please let me know how to fix this.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jamy015commented, Apr 19, 2020

Dynamic mode with no brightness, contrast, sepia or grayscale adjustments.

As far as I can tell, the original page does not have yellow backgrounds. The background of the main table is #f6f6ef, which is definitely a shade of gray. When I turn Dark Reader on, this seems to change into #272716 , which to me seems like a dark/‘army’ green. Note: When viewing the colors, switch off Dark Reader, otherwise you see both colors as #272716 😄

For reference, this is what the page looks like for me when switching on Dark Reader:

0reactions
Gustedcommented, Apr 20, 2020

Ok, I understand that your opinion is different. In that case, can you help me with a ‘fix’ that I can apply locally using the dev tools? As far as I’m concerned, the fix then doesn’t necessarily have to be merged into the project.

Use stylus for that, I don’t recommend darkreaders dev tools to do this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

That annoying shade of blue (2018)
Having a dark background used to be the default in the beginnings with CRT, colored/bright backgrounds look very ugly when you can see...
Read more >
Common color mistakes and how to avoid them
Grayscale tells you if the color is for foreground/background ... Google is absolutely horrible when it comes to graphs in GCP and IIRC ......
Read more >
Web color is still broken
There's no ugly color space; they all have good uses. ... If you were picking foreground and background colors for text whether or...
Read more >
What an ugly design for such a page
Nothing is well-aligned on a grid between regions of the page. - The light grey <p> text on the grey background is low-contrast,...
Read more >
Ask HN: Dark mode for HN please?
We can add CSS to https://news.ycombinator.com/news.css for prefers-color-scheme: dark, but that leaves open the question of specifically ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found