From 2657401a65bffa2028ba9f3a7f88992865174964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emanuel=20Sch=C3=BCtze?= Date: Wed, 26 Jun 2019 08:28:06 +0200 Subject: [PATCH] Redefine colors for PWA. Fetch fonts for offline usage. --- client/ngsw-config.json | 13 +++++++++++-- client/src/index.html | 1 - client/src/manifest.json | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/client/ngsw-config.json b/client/ngsw-config.json index 49b210599..1b0fde81f 100644 --- a/client/ngsw-config.json +++ b/client/ngsw-config.json @@ -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/**" + ] } } ] diff --git a/client/src/index.html b/client/src/index.html index 331a49f45..b3a21a1cf 100644 --- a/client/src/index.html +++ b/client/src/index.html @@ -9,7 +9,6 @@ - diff --git a/client/src/manifest.json b/client/src/manifest.json index 77bf39340..45cfa75bf 100644 --- a/client/src/manifest.json +++ b/client/src/manifest.json @@ -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": "/",