swissspidy / wordpressers-on-github

Show WordPress.org profiles for users on GitHub
Apache License 2.0
12 stars 0 forks source link

[Feature Request]: Use SVG WordPress logo #10

Open tyrann0us opened 2 months ago

tyrann0us commented 2 months ago

Is your feature request related to a problem? Please describe. PNG icons can look blurry. To prevent this, you include 5 different PNG resolutions of the logo twice (for Chrome and Firefox separately). If you add a Safari extension, it will be 15 logo files.

Describe the desired solution Use the SVG version of the WordPress logo instead.

Describe the alternatives that you have considered Keep things as-is.

Additional context Please find the logo here: https://upload.wikimedia.org/wikipedia/commons/0/09/Wordpress-Logo.svg. According to https://commons.wikimedia.org/wiki/File:Wordpress-Logo.svg, it is from https://wordpress.org/about/logos/.

swissspidy commented 2 months ago

To prevent this, you include 5 different PNG resolutions of the logo twice (for Chrome and Firefox separately)

Actually, those are included as they are required in the extension manifest, see https://developer.chrome.com/docs/extensions/reference/manifest/icons. Those don't support SVGs.

For the content injection, only 1 file (wp-logo.png) is used. Seems reasonable to use an svg for that though :)