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.

Leave a Reply

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