Skip to content

joshwcomeau/dark-mode-minimal

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Gatsby Dark Mode (minimal example)

This codebase creates an "MVP" version of rehydration-safe, flicker-free Dark Mode. It's described in more detail on my blog:

https://joshwcomeau.com/gatsby/dark-mode/

You can also play with it live (though, fair warning, it's not a terribly exciting application): https://trusting-bose-add650.netlify.app


Notable files:

• gatsby-ssr.js • src/components/ThemeContext.js • src/constants.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published