Manifest: Dynamic Theme Color

Created on 15 Aug 2019  路  3Comments  路  Source: w3c/manifest

Hello. I have an app with both dark and light mode support, with the ability of theme color customization. How can I change the manifest theme based on page or header color?

Feature Request wontfix

Most helpful comment

Use <meta name="theme-color" content="???"> for dynamic theme colour. Example PWA: https://thundering-frigate.glitch.me

All 3 comments

Some discussion around this is happening in https://github.com/w3c/manifest/issues/758. For now, you can dynamically change the manifest URL, see the source code of the demo at https://dark-mode-baseline.glitch.me/ for an example.

Use <meta name="theme-color" content="???"> for dynamic theme colour. Example PWA: https://thundering-frigate.glitch.me

Seems like there are valid alternatives and we have no run-time API for manifests, so I am closing this as wontfix.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mbj36 picture mbj36  路  3Comments

frlinw picture frlinw  路  7Comments

kenchris picture kenchris  路  4Comments

christianliebel picture christianliebel  路  6Comments

photopea picture photopea  路  7Comments