Skip to main content

Browser dark mode specific favicon

Run this little snippet on document ready, it enables you to define and switch different favicon for users who are visiting your site in browser/os dark mode.
Don’t forget to update image icon path.

1 comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Please don’t paste any HTML, Js or PHP code into comments box, use pastebin.com or similar service to share code examples.

Characters left: 1000