Skip to content

Instantly share code, notes, and snippets.

@charisTheo
Last active December 12, 2019 18:21
Show Gist options
  • Save charisTheo/e1f998bad0884625f833d86959ec7dd2 to your computer and use it in GitHub Desktop.
Save charisTheo/e1f998bad0884625f833d86959ec7dd2 to your computer and use it in GitHub Desktop.
Web App Manifest JSON file for Chrome
{
"short_name": "Web app short name",
"name": "Web app name",
"description": "Web app description",
"start_url": ".",
"display": "standalone",
"background_color": "#aa00ff",
"theme_color": "#76ff03",
"lang": "en-GB",
"icons": [
{
"src": "./favicon/favicon-16x16.png",
"sizes": "16x16",
"type": "image/png"
},
{
"src": "./favicon/favicon-32x32.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "./favicon/favicon-64x64.png",
"sizes": "64x64",
"type": "image/png"
},
{
"src": "./favicon/favicon-96x96.png",
"type": "image/png",
"sizes": "96x96"
},
{
"src": "./favicon/favicon-192x192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "./favicon/favicon-512x512.png",
"type": "image/png",
"sizes": "512x512"
},
{
"src": "./favicon/maskable_icon.png",
"sizes": "196x196",
"type": "image/png",
"purpose": "maskable"
}
],
"serviceworker": {
"src": "sw.js"
},
"related_applications": [{
"platform": "web",
"url": "www.example.com"
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment