The HTML layout now shows the logo (inline CID attachment, generated with the favicon script) before "Plenar" in the text color and "IO" in the primary color, like the site header. Muted gray and background match the web tokens. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
34 lines
1.4 KiB
PHP
34 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* HTML mail layout. Colors mirror the web tokens in webroot/css/plenario.css (light theme):
|
|
* --bg #f5f6fb, --surface #fff, --text #1d1f33, --muted #5d6280, --primary #4b3fe0.
|
|
* Inline styles and a table for the brand row: mail clients ignore stylesheets and flexbox.
|
|
*
|
|
* @var \App\View\AppView $this
|
|
*/
|
|
|
|
use App\Mailer\PollMailer;
|
|
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="color-scheme" content="light">
|
|
<title><?= $this->fetch('title') ?></title>
|
|
</head>
|
|
<body style="margin:0;padding:24px;background:#f5f6fb;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#1d1f33;">
|
|
<div style="max-width:560px;margin:0 auto;background:#ffffff;border-radius:12px;padding:32px;color:#1d1f33;">
|
|
<table role="presentation" cellpadding="0" cellspacing="0" border="0" style="margin:0 0 24px;">
|
|
<tr>
|
|
<td style="padding:0 10px 0 0;vertical-align:middle;">
|
|
<img src="cid:<?= PollMailer::LOGO_CID ?>" width="32" height="32" alt="" style="display:block;border:0;border-radius:8px;">
|
|
</td>
|
|
<td style="vertical-align:middle;font-size:20px;font-weight:800;line-height:1;color:#1d1f33;">Plenar<span style="color:#4b3fe0;">IO</span></td>
|
|
</tr>
|
|
</table>
|
|
<?= $this->fetch('content') ?>
|
|
</div>
|
|
</body>
|
|
</html>
|