Reconsider Web App Manifest "theme_color" requirement
See original GitHub issueFallow the spec and recognize Web App Manifest theme_color
parameter.
Currently showing error
Is related to https://github.com/GoogleChrome/lighthouse/pull/2466.
Spec https://w3c.github.io/manifest/#theme_color-member Landed in Chrome 46 https://developers.google.com/web/updates/2015/08/using-manifest-to-set-sitewide-theme-color
https://www.chromestatus.com/feature/5709006190411776 It should be noted that if a theme color is specified as a meta-tag for a certain page (see https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android?hl=en), then the information from the meta tag will override the global theme color option in the manifest for that page.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:22 (3 by maintainers)
Top Results From Across the Web
theme_color - Web app manifests | MDN
The theme_color member is a string that defines the default theme color for the application. This sometimes affects how the OS displays the ......
Read more >Using the web app manifest to specify a site wide theme color
Set a theme-color in the manifest and have it available to all pages on your site when launched from the home screen.
Read more >Add a web app manifest
The web app manifest is a simple JSON file that tells the browser about your web application and how it should behave when...
Read more >Web Application Manifest - W3C
What constitutes a theme color is defined in [ HTML ]. If the user agent honors the value of the theme_color member as...
Read more >PWA manifest.json - "theme_color" and "background_color ...
However, when I start the website from my homescreen on my android device, neither the background or theme color is loaded, nor my...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI, Chrome canary (https://bugs.chromium.org/p/chromium/issues/detail?id=578122) supports now
prefers-color-scheme
in SVG also used in App Manifest:Would result in light mode:
and in dark mode:
Tested on desktop.
These are all good points. I’m inclined to reduce the requirement to
specifies theme-color, warn if theme_color is not set
and just documenting why we suggest setting both.Does anyone else on LH disagree?