Merge pull request #4810 from emanuelschuetze/pwa-color

Redefine colors for PWA.
This commit is contained in:
Emanuel Schütze 2019-06-26 16:31:38 +02:00 committed by GitHub
commit f2c6213901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 5 deletions

View File

@ -5,7 +5,14 @@
"name": "app", "name": "app",
"installMode": "prefetch", "installMode": "prefetch",
"resources": { "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", "installMode": "lazy",
"updateMode": "prefetch", "updateMode": "prefetch",
"resources": { "resources": {
"files": ["/assets/**"] "files": [
"/assets/**"
]
} }
} }
] ]

View File

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

View File

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