CSS Code for Hacker News Dark Mode Using uBlock Origin
By
todotask2
8mo ago· 5 min readen
100/100
Golden Brown
Bagelometer↗
If you only eat one bagel today, this is the bagel.
Score100Typehow-toSentimentneutral
Summary
A user shares CSS code snippets for implementing dark mode on Hacker News using uBlock Origin filters. The code changes the background to black, text colors to light shades, and link colors to orange tones, providing a quick way to enable dark theme on the website.
Key quotes
· 5 pullednews.ycombinator.com##body:style(background: black)
news.ycombinator.com##td:style(color: #fafafa !important)
news.ycombinator.com##table:style(background-color: #120F0D)
news.ycombinator.com##a:style(color: #ffa000 !important)
news.ycombinator.com##span#karma:style(color: #faa000 !important)
onelesd 8 minutes ago | [–]
