Loading
feat: #3637900 Add a PNG email logo for HTML emails
Issue: https://www.drupal.org/i/3637900
Adds logo-email.png, logo.svg as a 99×30 PNG, for HTML emails. Gmail and Outlook do not show SVG images, so emails that use the site logo show no logo there. 99×30 is the size the site header shows the logo at (1.88rem tall), and the Easy Email Theme template sets no width on the logo. The README says what the file is for. Same approach as Varbase Theme - Bootstrap 5 (#3637288).
Educare points the Easy Email Theme logo at this file (#3637903), so this MR should be released first.
Testing
- On a site with Educare, copy
logo-email.pngintothemes/contrib/vartheme_bs5_educare/and seteasy_email_theme.settingslogo.use_default: false,logo.path: themes/contrib/vartheme_bs5_educare/logo-email.png. - Send a password reset email and open it in Mailpit.
- The logo
<img>points tologo-email.pngand shows at the same size as the site logo.
AI-Generated: Yes
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release
Edited by Rajab Natshah