add svg favicon (#893)

Signed-off-by: Arhell <arhell333@gmail.com>
This commit is contained in:
Ihor Sychevskyi 2022-08-04 10:02:17 +03:00 committed by GitHub
parent 639d41ad2c
commit b291bfd6b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 0 deletions

View File

@ -29,6 +29,22 @@ module.exports = function faviconCustomPlugin() {
href: "/img/favicons/favicon-16x16.png",
},
},
{
tagName: "link",
attributes: {
rel: "icon",
type: "image/svg+xml",
href: "/img/favicons/favicon.svg",
},
},
{
tagName: "link",
attributes: {
rel: "icon",
type: "image/png",
href: "/img/favicons/favicon.png",
},
},
{
tagName: "link",
attributes: {

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="246" height="246"><svg id="SvgjsSvg1000" data-name="layer1" x="0" y="0" width="246" height="246" viewBox="26.517 6.152 79.431 78.847" xmlns="http://www.w3.org/2000/svg"><defs><style>.cls-1{fill:#006fff}@media (:root[data-theme=dark]){:root{filter:none}}@media (:root[data-theme=dark]){:root{filter:contrast(.3846153846153846) brightness(4.5)}}</style></defs><path d="M47 67.85a7.58 7.58 0 0 0 6.55 3.78 7.42 7.42 0 0 0 3.66-1 3.89 3.89 0 0 1 3.85 0 7.52 7.52 0 0 0 7.11.13 4 4 0 0 1 3.72 0 7.55 7.55 0 0 0 10-3Z"/><path class="cls-1" d="m85.87 54.8-.09-1.47c-.91-14.52-6.32-28.16-15.23-38.39V54.1ZM68.46 54V23.14a51.85 51.85 0 0 0-14.93 30.18Z"/><path d="m54.75 56.18-1.2-2.85-14.16-.65 3.89 9.23a6.64 6.64 0 0 0 8.94 2.49 4.76 4.76 0 0 1 4.68 0 6.63 6.63 0 0 0 6.39 0 4.76 4.76 0 0 1 4.68 0 6.63 6.63 0 0 0 6.39 0 4.76 4.76 0 0 1 4.68 0A6.63 6.63 0 0 0 88 61.91l1.61-3.25-33.49-1.53a1.54 1.54 0 0 1-1.37-.95Z"/></svg></svg>

After

Width:  |  Height:  |  Size: 971 B