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

@NotWoods commented on this pull request.



> +        </h2>
+        <p>
+          Some platforms enforce that icons be displayed with a
+          <dfn>solid fill</dfn> such as a single color, where only the
+          transparency of the icon can be controlled by the application. As web
+          applications need to across multiple platforms, it is possible to
+          indicate that an icon can have an user-agent-specified color applied
+          by adding the <a>monochrome</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>monochrome</a> icon, the user agent MUST NOT
+          use the red component, green component, or blue component of a pixel.
+          The user agent SHOULD display each pixel with its original alpha

The icons could be passed to either the OS or the browser. For example, the Android OS would handle notification icons, but Safari might want to display icons in its own toolbar like this:

![Safari pinned tabs](https://user-images.githubusercontent.com/1782266/84292249-feb45b00-aafa-11ea-8b97-743b200da816.png)


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

Received on Wednesday, 10 June 2020 16:16:43 UTC