Re: [EXTERNAL] Webmanifest Icons

Within Windows we have supported swapping out icons based on color mode, which was the impetus for me kicking off that `ImageResource` discussion, but that happened at the OS level. I’d love to see us find a way to support it within SVG… perhaps by re-rasterizing the icon when the mode changes (or creating a slate of icons based on color schemes that could be swapped as needed). More soon, I hope.

Cheers,

Aaron


[xdgAEWGQCRxObR8AAAAAElFTkSuQmCC]
Aaron Gustafson (he/him/his)
PWAs + Accessibility + Web Standards
@AaronGustafson<https://twitter.com/aarongustafson>


Book a time with me!<https://book.ms/aarongu@microsoft.com>


From: Thomas Steiner <tomac@google.com>
Date: Monday, November 2, 2020 at 12:19 AM
To: Matt Giuca <mgiuca@chromium.org>
Cc: Aaron Gustafson <aarongu@microsoft.com>, Glen Peterson <glen.k.peterson@gmail.com>, public-webapps@w3.org <public-webapps@w3.org>
Subject: Re: [EXTERNAL] Webmanifest Icons
Just a note on the conversion to host-OS-compatible formats: there are a couple of interesting use cases for SVG favicons, namely favicons specific to the user's preferred color scheme (https://blog.tomayac.com/2019/09/21/prefers-color-scheme-in-svg-favicons-for-dark-mode-icons/<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.tomayac.com%2F2019%2F09%2F21%2Fprefers-color-scheme-in-svg-favicons-for-dark-mode-icons%2F&data=04%7C01%7Caarongu%40microsoft.com%7C27b216d7f494402aa55708d87f0808b8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637399019770013114%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xTg4R3FUi5UuxPMFJZUPcrwxu7dDAs5RbmbAIsmZb5Q%3D&reserved=0>) and animated favicons (https://blog.tomayac.com/2019/12/01/animated-svg-favicons/<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.tomayac.com%2F2019%2F12%2F01%2Fanimated-svg-favicons%2F&data=04%7C01%7Caarongu%40microsoft.com%7C27b216d7f494402aa55708d87f0808b8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637399019770013114%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XDoz9uBr3hXUtHQFo6FIQHI%2BeCxSIz9ZNFcoa2k5naM%3D&reserved=0>), both of which have only varying support in browsers today, but where support would get lost completely if they were converted to standard PNGs. People have been asking at least for color scheme support for sure (https://github.com/w3c/image-resource/issues/26<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fw3c%2Fimage-resource%2Fissues%2F26&data=04%7C01%7Caarongu%40microsoft.com%7C27b216d7f494402aa55708d87f0808b8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637399019770023110%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mMtKURM7U1VsML7qJJbA%2Fl%2BJ%2BhDNu3QXocwo8X53b3g%3D&reserved=0>).

Cheers,
Tom

Received on Monday, 2 November 2020 19:18:35 UTC