set theme color as well for pwa

This commit is contained in:
Bruno Windels 2020-09-14 17:10:52 +02:00
parent 9212a1313e
commit c91290fac2

View File

@ -295,6 +295,7 @@ async function buildOffline(version, assetPaths) {
{"src": assetPaths.iconPngPath(), "sizes": "384x384", "type": "image/png"}, {"src": assetPaths.iconPngPath(), "sizes": "384x384", "type": "image/png"},
{"src": assetPaths.iconSvgPath(), "type": "image/svg+xml"}, {"src": assetPaths.iconSvgPath(), "type": "image/svg+xml"},
], ],
theme_color: "#0DBD8B"
}; };
const manifestJson = JSON.stringify(webManifest); const manifestJson = JSON.stringify(webManifest);
const manifestPath = resource("manifest.json", manifestJson); const manifestPath = resource("manifest.json", manifestJson);