Add maskable icons (and some PWA-related settings)
@ -3,15 +3,83 @@
|
||||
"short_name": "Firefly III",
|
||||
"start_url": "/",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/maskable72.png",
|
||||
"sizes": "72x72",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable76.png",
|
||||
"sizes": "76x76",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable96.png",
|
||||
"sizes": "96x96",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable120.png",
|
||||
"sizes": "120x120",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable128.png",
|
||||
"sizes": "128x128",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable152.png",
|
||||
"sizes": "152x152",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable180.png",
|
||||
"sizes": "180x180",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
"type": "image/png",
|
||||
"scope": "any"
|
||||
},
|
||||
{
|
||||
"src": "/maskable192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/maskable384.png",
|
||||
"sizes": "384x384",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
"type": "image/png",
|
||||
"scope": "any"
|
||||
},
|
||||
{
|
||||
"src": "/maskable512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"scope": "maskable"
|
||||
}
|
||||
],
|
||||
"theme_color": "#1e6581",
|
||||
|
1
public/maskable-icon.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg height="377.95276" width="377.95276" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h377.95276v377.95276h-377.95276z" fill="#cd5029" stroke-width="1.96129"/><g transform="matrix(.77452773 0 0 .77452773 21.636074 21.374655)"><path d="m140.49013 78.646381 2.249 53.017999s-40.103 29.566-45.538 68l-16.001 1.231s-11.539 2.564-11.539 14.103v37.18s3.846 11.538 12.82 11.538l16.487-.319s8 30.5 36.5 50.5v25.5s-2 8.5 15.5 11 40.75 2.25 44.5-1.5 3.75-4.5 3.75-9c0 0 21.25 5 60.25 0v5s3.5 7 29 7 33-3 37.5-12v-25s37.009-36.264 35.75-91.75c-1.083-47.75-15.901-64.299-35.806-82.96-22.67-21.254-69.944-31.165-117.944-25.353.001-.001-24.341-43.937999-67.478-36.187999z" fill="#fff"/><circle cx="135.46912" cy="214.39638" fill="#cd5029" r="9.5"/><path d="m360.08113 190.51238s-18.218-8.742-40.662 3.996c0 0-26.711-8.987-40.99 2.593-14.828 12.025-16.299 26.115-15.525 42.785 0 0 12.837-43.915 45.252-32.571 0 0-22.947 40.43 12.761 47.508 0 0 8.436-.05 15.401-4.256 6.644-4.011 11.842-11.433 9.711-24.814 0 0-4.348-13.336-15.569-21.42 0 0 11.042-7.806 31.988-2.209z" fill="#cd5029"/><path d="m320.19013 213.01938s-16.689 31.461 5.607 29.767c0 0 11.838-5.656 4.887-17.127-7.147-11.796-10.494-12.64-10.494-12.64z" fill="#fff"/></g><path d="m188.97638 175.70052s4.01698 13.60604-3.69586 21.52748c-7.713 7.92145-6.8792 16.6767-3.75227 20.84588 3.12692 4.16917 2.91831 7.29593.41674 9.58905-2.50141 2.29312-4.58608 3.96073-6.04523.20846-1.45916-3.75228-3.12676-3.75228-3.75228-5.62834-.62552-1.87605-1.87622-5.21142-1.87622-5.21142s-3.96072 6.25384-6.46229 10.00611c-2.50157 3.75228-2.50141 9.58922-.83381 12.71598 1.66761 3.12676 1.04226 6.87903-.20845 12.09046-1.2507 5.21143.4169 13.13288 6.25369 16.2598 5.83678 3.12692 12.92459 5.62833 16.05135 8.5468s10.42301 5.62833 19.80362 3.54382c9.3806-2.0845 21.26294-11.67355 23.34744-18.13585 0 0 5.41988-6.04523 4.37763-13.96668s-4.79469-7.71316-6.4623-13.75839c-1.6676-6.04523 3.60854-4.55469-.8338-14.93382 0 0-1.98012-4.94005-9.50352-8.49899-4.83404-2.28661-1.54469-12.63061-10.09149-23.05347s-16.73295-12.14688-16.73295-12.14688z" fill="#ffa284" stroke-width=".162598"/></svg>
|
After Width: | Height: | Size: 2.1 KiB |
BIN
public/maskable120.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
public/maskable128.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
public/maskable144.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
public/maskable152.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
public/maskable180.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
public/maskable192.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
public/maskable384.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
public/maskable512.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
public/maskable72.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
public/maskable76.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
public/maskable96.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
@ -1,8 +1,28 @@
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
|
||||
{# main icons #}
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
|
||||
<link rel="manifest" href="manifest.webmanifest">
|
||||
|
||||
{# iOS icons #}
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="maskable76.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="maskable120.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="maskable152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
|
||||
|
||||
{# Pinned tab #}
|
||||
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#1e6581">
|
||||
<meta name="msapplication-TileColor" content="#1e6581">
|
||||
|
||||
{# Android #}
|
||||
<link href="maskable192.png" rel="icon" sizes="192x192">
|
||||
<link href="maskable128.png" rel="icon" sizes="128x128">
|
||||
|
||||
{# Manifest #}
|
||||
<link rel="manifest" href="/manifest.webmanifest">
|
||||
|
||||
{# Android colors #}
|
||||
<meta name="theme-color" content="#1e6581">
|
||||
|
||||
{# Microsoft meta #}
|
||||
<meta name="msapplication-TileColor" content="#1e6581">
|
||||
<meta name="msapplication-TileImage" content="maskable.png">
|
||||
<meta name="msapplication-tap-highlight" content="no">
|
||||
<meta name="application-name" content="Firefly III">
|
||||
|