logoalt Hacker News

frizlabtoday at 1:56 AM1 replyview on HN

> Respects light/dark mode

Not really… using js to change the CSS on the go is not a good practice. Why does it matter? Because of the “dark mode” browser extensions. They often use the presence of @media query (or other standard CSS means of setting dark mode colors), and if it’s the JS that changes the colors we often get partial Dark Mode, which does not work at all.


Replies

medvtoday at 7:14 AM

No js is used for colors.