Re: [w3c/manifest] BREAKING CHANGE: Replace "badge" with "monochrome" (#833)

NotWoods commented on this pull request.



> +          platforms, it is possible to indicate that an icon can have a
+          user-agent-specified color applied by adding the <a>single-color</a>
+          purpose. This allows the platform to ensure that the icon looks well
+          integrated with the platform, and even apply different colors and
+          padding in different places throughout the platform.
+        </p>
+        <p>
+          When processing a <a>single-color</a> icon, the user agent MUST NOT use
+          the red component, green component, or blue component of a pixel. If
+          it has alpha equal to zero, the user agent SHOULD NOT display it.
+          If it the alpha component is greater than zero, the user agent SHOULD
+          display it with any tint.
+        </p>
+        <p>
+          If no single color icon is defined when an icon with a solid color is
+          expected to be presented, the user agent MAY show a fallback icon.

MAY supply its own default icon. For example, in the PWA site controls notification image I give in the issue, the browser logo (Chrome) or PWA logo (Firefox) could continue to be used if the manifest has not supplied an icon with purpose: single-color

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/833#discussion_r368375404

Received on Monday, 20 January 2020 05:32:32 UTC