- Issue created by @thejimbirch
- πΊπΈUnited States thejimbirch Cape Cod, Massachusetts
Project Browser's guidelines for modules:
https://www.drupal.org/docs/contributed-modules/project-browser/module-m... β
Logo
Design a logo for the module.
Create a logo that is 512x512 square dimension in PNG format without animations. Suggested file size should be 10k or less. (Please note: you should not round the corners in the PNG itself, unless there is some compelling branding reason. We will round corners when displaying in the Project Browser.)
Use a lossy image tool (such as pngquant) to reduce file size while keeping the image quality at around 80%.
Place the logo in the root directory of the Git repository for your project, on the default branch. The logo file should be named logo.png. The logo will be placed on Drupal.org project pages to the left of the project name. For example, Project Browser has a logo.png file. Logos are cached and may take up to an hour to show.
If you previously added a logo as the first image on the Drupal.org project page, please remove it. - π¨π¦Canada zetagraph
Is PNG the only format? SVGs will look sharper and cleaner for vector based graphics. Or is there a technical limitation for use of SVGs here?
- πΊπΈUnited States leslieg
Yes they currently need to be png format. The logo is used on the Drupal.org project page and on gitlab, in addition to Project Browser. The limitation currently comes from Gitlab.
In some cases svgs have been uploaded to the issues as well, but just for possible use in the future,
- πΊπΈUnited States thejimbirch Cape Cod, Massachusetts
This is based on the requirements of Project Browser and Gitlab. Ultimately, for now, we need PNGs due to this open GitLab issue: https://gitlab.com/gitlab-org/gitlab/-/issues/13897
The Project Browser Image specs are in this issue: https://www.drupal.org/project/project_browser/issues/3342533 π [Meta] Create a logo for a contrib module Active
The postponed discussion about SVGs is here: https://www.drupal.org/project/project_browser/issues/3311380 β¨ Prefer SVG format, but allow PNG for logo? Postponed: needs info
- Status changed to Fixed
7 months ago 10:27am 5 June 2024 - πΊπΈUnited States thejimbirch Cape Cod, Massachusetts
Added specifications to the documentation and created a core issue to add logos to core recipes β¨ Recipes in Drupal core should have a logo for findability in Project Browser/Starshot Active .
Automatically closed - issue fixed for 2 weeks with no activity.