mozilla / protocol-assets

Design assets for Protocol, Mozilla’s design system.
https://protocol.mozilla.org/
Mozilla Public License 2.0
12 stars 8 forks source link

Add larger logo assets #32

Closed alexgibson closed 5 years ago

alexgibson commented 5 years ago

Currently browser icons are bundled as 200x200px (high-res) and 100x100px (low-res) variants, but it would be good to also provide an additional larger variation that web pages can use. Something along the lines of:

stephaniehobson commented 5 years ago

Add to the list, format & sizes needed for favicons:

References https://realfavicongenerator.net/ https://stackoverflow.com/a/48969053/462195 https://www.emergeinteractive.com/insights/detail/The-Essentials-of-FavIcons/

stephaniehobson commented 5 years ago

Here is a list of sizes already in use on bedrock, rounded to be divisible by 16 (this matches the grid we use in Protocol currently).

96 128 160 196 256 320

** these are the low-res versions, there are high-res versions of some of these

stephaniehobson commented 5 years ago

I suggest the largest PNG we include is 256px and after that people should use the SVG.

(PNG versions are needed at smaller sizes to support search results, favicons, and social media. Also, 256px seems to be about the tipping point where the SVG starts to be smaller than the PNG)

stephaniehobson commented 5 years ago

So I guess I'm suggesting:

ICO

PNG

SVG

Edited to add 64px, there's no use case but the gap was bothering me Edited to add 48px, based on logo sizes in recent designs (homepage banners, firefox pages)

stephaniehobson commented 5 years ago

This is complicated by the vertically stacked logos with wordmarks:

logo-and-wordmark-vertical-stacked@1x

I think the path I want to go with this is that the Firefox logo will be 256px but the image height will be more than this to accommodate the wordmark.

stephaniehobson commented 5 years ago

The team discussed it and we would rather people use the assets to generate their own favicons, than to provide them as part of this repo.

Also, the high res version of 256px is just stupid big so I've revised the point where I suggest people switch to SVG.

That makes the new suggested sizes:

PNG

SVG