2024 Update: this is no longer the approach I take. I highly recommend reading my updated post: The Complete Guide to Dark Mode with Remix (2024).
This is a demo for adding a dark mode to a Remix app. You can find the code on my GitHub.
You can also find a complete guide to Remix dark mode on my blog.
If you have any questions, feel free to message me on Twitter.