Detecting dark mode preference using JavaScript | Dark Hacker News