Aravind Balla Posted on Feb 11, 2020 Dark/Light favicons in Gatsby #gatsby #javascript #tutorial This is me documenting the process of reaching the goal rather than a tutorial. I implement how we can change the favicon based on the user's color preference on my website. Here is the commit - https://github.com/aravindballa/website2017/commit/fc9ff64da55eb209f475e3f488980c2cca3742c6 Resources https://web.dev/prefers-color-scheme/ https://www.gatsbyjs.org/docs/browser-apis/#onRouteUpdate Top comments (0) Crown Sort discussion: Selected Sort Option Top Most upvoted and relevant comments will be first Latest Most recent comments will be first Oldest The oldest comments will be first Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)