forked from mystiq/hydrogen-web
set theme color as well for pwa
This commit is contained in:
parent
9212a1313e
commit
c91290fac2
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue