Support Responsive Favicons for a Professional Look

TIL you can use a media attribute on a <link> element to offer both light and dark mode versions of your favicon.

The cool thing about this approach is that it doesn't appear to require a manual page refresh when you change modes for the favicon to switch. That's not the case with this approach which I've used in the past.