Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by ldd

5 years ago

I replied to the top post, but just in case, here is my idea

It uses prefers-color-scheme and 28 lines of CSS:

https://pastebin.com/4JYbSi5F

1 comment

ldd

Reply

ldd  5 years ago

And just in case 28 was too much, here's an improved version in 10 lines of CSS:

https://pastebin.com/dT4KKt3s

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities