Oooo! A bonafide trick from Thomas Steiner. Chrome will soon be supporting SVG favicons (e.g.
<link rel="icon" href="/icon.svg"/>). And you can embed CSS within an SVG with a
<style></style> element. That CSS can use a
perfers-color-scheme media query, and as a result, a favicon that supports dark mode!… Read article