Add Dark Mode to Your Website
Add Dark Mode to Your Website
Add dark mode to your website using DarkReader. This is a simple way to add dark mode to your website.
- GitHub: https://github.com/darkreader/darkreader
- Add code below to
_includes/head.htmlin your Jekyll project.
1 | {% if jekyll.environment == 'production' -%} |
Reference:
reference the implementation from link
Add Dark Mode to Your Website