Skip to content

Instantly share code, notes, and snippets.

@owenconti
Last active December 18, 2020 23:32
Show Gist options
  • Save owenconti/e7c49ee89ee22036846f3d093f0924a3 to your computer and use it in GitHub Desktop.
Save owenconti/e7c49ee89ee22036846f3d093f0924a3 to your computer and use it in GitHub Desktop.
How to use SVG favicons to support dark mode color scheme
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml" />
&lt;link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml"&gt;
<link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml" />
<link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml">
<link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment