loading...

re: Add dark mode to your site with this short CSS trick VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Simple but effective. Thanks for sharing Just to enrich the conversation I want to add that another consideration is that if you are using styled-...
 

When I change to dark theme in Firefox then this line:
window.matchMedia("(prefers-color-scheme: dark)").matches
still returns false.

Code of Conduct Report abuse