There should be a way to make favicon react on theme switching. Current list of media queries supported by meta attribute doesn’t include prefers-color-scheme query. It could be solved from a script, but it is non-optimal.
Motivation
Dark and especially black favicons became unrecognizable in dark mode.
Proposal
Add prefers-color-scheme into list of queries supported by icon’s media attribute.
Thanks. They have one more issue: several favicons passed with a page lock the ability of the tab to change favicon with changing order of the <link> element inside of a <head>. This bug passes away after page reloading. So it seems to be a very rare bug.
I have no registration on chromium’s bug tracker. Could you file it?
Such change is fixing inconsistency of the media query support regardless to favicon format. And yes, you are right about SVG. Unfortunately it’s still a candidate.