use svg directly for favicon and PWA
This commit is contained in:
BIN
www/favicon.ico
BIN
www/favicon.ico
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 60 KiB |
BIN
www/icon-256.png
BIN
www/icon-256.png
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
@@ -10,6 +10,7 @@
|
||||
<meta name="theme-color" media="(prefers-color-scheme: light)" content="white">
|
||||
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#404040">
|
||||
<link rel="manifest" href="./manifest.json">
|
||||
<link rel="icon" href="./logo.svg" sizes="any" type="image/svg+xml">
|
||||
|
||||
<!--Register Service Worker-->
|
||||
<script>
|
||||
|
||||
@@ -3,14 +3,8 @@
|
||||
"short_name": "ytbn-pwa",
|
||||
"icons": [
|
||||
{
|
||||
"src": "./icon-256.png",
|
||||
"sizes": "256x256",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "./icon-1024.png",
|
||||
"sizes": "1024x1024",
|
||||
"type": "image/png"
|
||||
"src": "./logo.svg",
|
||||
"sizes": "any"
|
||||
}
|
||||
],
|
||||
"lang": "en-US",
|
||||
|
||||
Reference in New Issue
Block a user