Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add monochrome icons for Android #1009

Open
lnhrdt opened this issue Jan 25, 2024 · 0 comments
Open

Add monochrome icons for Android #1009

lnhrdt opened this issue Jan 25, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@lnhrdt
Copy link

lnhrdt commented Jan 25, 2024

Besides any and maskable there is another manifest icon purpose called monochrome.
https://developer.mozilla.org/en-US/docs/Web/Manifest/icons#values

On Android, monochrome icons from native apps are used by Material You with OS level theming. It seems that integration with PWAs isn't quite there:
https://stackoverflow.com/questions/74620798/material-you-icon-on-pwa
But there's an open issue in Chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=1468845

I'd like to provide a monochrome icon in my manifest to:

  1. make it easy to test their adoption on different platforms
  2. be ready when support lands on different platforms

I'd be interested in support, similar to what was introduced in #38 for maskable icons. Or perhaps a more generic solution that allows the user to provide icons for any purpose (e.g. any, maskable, monochrome, some-new-spec-in-the-future, etc).

@lnhrdt lnhrdt added the feature request New feature or request label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant