Soporte de íconos adaptables en PWAs con íconos enmascarables

PHOTO EMBED

Thu Apr 21 2022 00:27:44 GMT+0000 (Coordinated Universal Time)

Saved by @Karyneduardo93 #json

{
  …
  "icons": [
    …
    {
      "src": "path/to/regular_icon.png",
      "sizes": "196x196",
      "type": "image/png",
      "purpose": "any"
    },
    {
      "src": "path/to/maskable_icon.png",
      "sizes": "196x196",
      "type": "image/png",
      "purpose": "maskable" // <-- New property value `"maskable"`
    },
    …
  ],
  …
}
content_copyCOPY

https://web.dev/maskable-icon/?utm_source