- This topic is empty.
-
AuthorPosts
-
August 24, 2024 at 6:02 pm #26279
Heather
Guestit seems these 2 fields are missing from the official PWA app and they are both hardcoded to
#ffffor some reason?August 24, 2024 at 6:03 pm #26280Beverly
Guest"background_color": "#fff",
"theme_color": "#fff",this is what I seen after scanning the manifest.json on PWA Builder.
August 24, 2024 at 6:04 pm #26281Joshua
Guestalso unrelated but I would rather use
"display": "standalone",instead of"display": "minimal-ui",but that one also seems hardcoded?August 24, 2024 at 6:07 pm #26282Emma
Guestupdate, seems the Super PWA app supports the colors:
screenshot
https://ps.w.org/super-progressive-web-apps/assets/screenshot-1.png?rev=2002515
August 24, 2024 at 6:09 pm #26284Samuel
GuestSuper PWA also supports Standalone display too btw, it’s the default display mode.
August 24, 2024 at 6:11 pm #26285Raymond
Guesthttps://github.com/w3c/manifest/issues/975
dark mode colors might be getting approved too by W3C.
August 24, 2024 at 6:34 pm #26286Anthony
GuestExpose the Web App Manifest display member as setting in admin #970
August 24, 2024 at 7:47 pm #26290Kelly
GuestFYI,
Just discovered the official plugin also supports these fields but it requires custom PHP filters to be added in your theme functions.php or using a code snippet plugin:
https://github.com/GoogleChromeLabs/pwa-wp/wiki/Web-App-Manifest
example:
add_filter( 'web_app_manifest', function( $manifest ) {
$manifest['theme_color'] = '#0073AA';
return $manifest;
} ); -
AuthorPosts