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

NotWoods commented on this pull request.



> +          When processing a <a>monochrome</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 monochrome icon is defined when an icon with a solid icon must
+          be presented, the user agent MAY show a fallback icon.
+        </p>
+        <p class="note">
+          Designers of <a>monochrome</a> icons are recommended to set all
+          pixels to black and use transparency to create a silhouette of their
+          icon.
+        </p>
+        <p>

The intention is that the spec allows for the icon to be displayed in any color (including white). This is just a recommendation that developers save the asset as an all-black image. The user agent can tint it afterwards.

-- 
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_r355070511

Received on Friday, 6 December 2019 23:23:27 UTC