URLs, name and colors are automatically rendered into manifest.json. Furthermore user preference of theme (light, dark, black) and theme colors are respected. Theme colors can be set in settings.yml
25 lines
685 B
JSON
25 lines
685 B
JSON
{
|
|
"name": "{{ instance_name }}",
|
|
"short_name": "{{ instance_name }}",
|
|
"icons": [
|
|
{
|
|
"src": "{{ url_for('static', filename='img/favicon.svg', _external=True) }}",
|
|
"sizes": "any",
|
|
"type": "image/svg+xml"
|
|
},
|
|
{
|
|
"src": "{{ url_for('static', filename='img/192.png', _external=True) }}",
|
|
"sizes": "192x192",
|
|
"type": "image/png"
|
|
},
|
|
{
|
|
"src": "{{ url_for('static', filename='img/512.png', _external=True) }}",
|
|
"sizes": "512x512",
|
|
"type": "image/png"
|
|
}
|
|
],
|
|
"start_url": "{{ url_for('index') }}",
|
|
"theme_color": "{{ theme_color }}" ,
|
|
"background_color": "{{ background_color }}",
|
|
"display": "standalone"
|
|
} |