willllhallll / willhall.uk

Personal website, blog and meme hub.
https://willhall.uk
0 stars 0 forks source link

♻️ Fix darkmode with css vars, head injection, and more! #42

Closed willllhallll closed 4 years ago

willllhallll commented 4 years ago

Fixed darkmode by using CSS variables and some header script injection.

All of this was gleaned from the epic Josh Comeau:

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

Mad respect to this homie.

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/willthevideoman/willhall-uk/o430fr7kd ✅ Preview: https://willhall-uk-git-refactor-dark-mode.willthevideoman.vercel.app

willllhallll commented 4 years ago

📝Changed routes:

/
Screenshot of /
(view full size)

Commit fe037aac5ac584a84e3052493c26449858f2ca56 (https://willhall-uk-git-refactor-dark-mode.willthevideoman.vercel.app).