I created a tutorial on my Ghost blog on how to create the ultimate dark mode experience for Casper v4.
- Create a dark mode toggle
- Automatic dark mode based on browser preferences
- Dark mode “theme” cookie
I have included a “Lazy Guide” for code injection and a “Hard Coded” guide to add to your theme.