Redefine colors for PWA. Fetch fonts for offline usage.

This commit is contained in:
Emanuel Schütze 2019-06-26 08:28:06 +02:00
parent 585b569bbf
commit 2657401a65
3 changed files with 13 additions and 5 deletions

View File

@ -5,7 +5,14 @@
"name": "app",
"installMode": "prefetch",
"resources": {
"files": ["/favicon.png", "/index.html", "/*.css", "/*.js"]
"files": [
"/favicon.png",
"/index.html",
"/*.css",
"/*.js",
"/fira-sans*",
"/Material-Icons-Baseline.*"
]
}
},
{
@ -13,7 +20,9 @@
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": ["/assets/**"]
"files": [
"/assets/**"
]
}
}
]

View File

@ -9,7 +9,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="assets/img/favicon.png">
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#317796">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
</head>

View File

@ -1,8 +1,8 @@
{
"name": "OpenSlides",
"short_name": "OpenSlides",
"theme_color": "#317796",
"background_color": "#317796",
"theme_color": "#000000",
"background_color": "#ffffff",
"display": "standalone",
"scope": "/",
"start_url": "/",