Add support for maskable and monochrome icons

This commit is contained in:
Kacper Donat 2020-09-18 21:57:38 +02:00
parent 7db9517840
commit b8734d4dc6
3 changed files with 9 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -6,7 +6,7 @@
"start_url": "{{ path('app', { provider: provider.identifier }) }}",
"display": "standalone",
"background_color": "white",
"theme_color": "#005ea8",
"theme_color": "white",
"description": "Odpowiedź na odwieczne pytanie ludzkości - czy tramwaje jeżdżą?",
"icons": [{
"src": "{{ asset('images/icon-256.png') }}",
@ -26,5 +26,13 @@
},{
"src": "{{ asset('images/icon-96.png') }}",
"sizes": "96x96"
},{
"src": "{{ asset('images/icon-maskable.png') }}",
"sizes": "512x512",
"purpose": "any maskable"
},{
"src": "{{ asset('images/icon-monochrome.png') }}",
"sizes": "512x512",
"purpose": "monochrome"
}]
}