Open DamianGlowala opened 11 months ago
Right now there is no way to add theme variants to webmanifest, you can only create them.
We have it working in elk.zone GH repo with 2 web manifest per locale (i18n + theme variants): https://github.com/elk-zone/elk/blob/main/modules/pwa/i18n.ts
You need to disable manifest entry (manifest: false
) and register them manually:
As per note in this section:
... it would be a nice addition to be able to adjust for the dark mode. Not sure which properties can be adjusted this way though (whether it is only the
theme_color
andbackground_color
or other as well).