chore: SVG favicon with dark mode support (#5)

* Dark mode supporting favicon

* Update public/favicon.svg

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
Johann SchopplichandAnthony Fu authored and GitHub committed 2020-08-12 02:20:47 +08:00
1 parent dbd1a9fe43
commit 1aa4de1f7e
2 files changed
+10 -7

No files matched your search

+9 -6
View File
@@ -1,6 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"
preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32">
<path
d="M27.562 26L17.17 8.928l2.366-3.888L17.828 4L16 7.005L14.17 4l-1.708 1.04l2.366 3.888L4.438 26H2v2h28v-2zM16 10.85L25.22 26H17v-8h-2v8H6.78z"
fill="#fff" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<style>
path { fill: #222; }
@media (prefers-color-scheme: dark) {
path { fill: #ffffff; }
}
</style>
<path d="M27.562 26L17.17 8.928l2.366-3.888L17.828 4L16 7.005L14.17 4l-1.708 1.04l2.366 3.888L4.438 26H2v2h28v-2zM16 10.85L25.22 26H17v-8h-2v8H6.78z" />
</svg>

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 347 B