Detecting dark mode preference using JavaScript | Hacker News Reader