Created
July 31, 2025 22:56
-
-
Save kwbr/5da99b01e5e43847f9f26a38f7a0e77d to your computer and use it in GitHub Desktop.
HackernNews Dark Mode based on OS Settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! Hacker News dark mode | |
| news.ycombinator.com##html:matches-media((prefers-color-scheme:dark)):style(filter:invert(100%) hue-rotate(180deg)) | |
| news.ycombinator.com##body:matches-media((prefers-color-scheme:dark)):style(background: white) | |
| news.ycombinator.com##div.toptext:matches-media((prefers-color-scheme:dark)):style(color: black) | |
| news.ycombinator.com###hnmain:matches-media((prefers-color-scheme:dark)) td[bgcolor="#000000"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment