healthcare email: add color variety - amber warning box (urgency) + red overdue date + green price/CTA, breaking up the all-teal look into a problem->relief->action color story
This commit is contained in:
parent
8eea9a694f
commit
2aa9e770c9
1 changed files with 5 additions and 5 deletions
|
|
@ -170,15 +170,15 @@ def render(seg_key: str, *, test: bool = False) -> tuple[str, str]:
|
|||
<h2 style="font-size:19px;margin:0 0 14px;color:#0f172a;line-height:1.3;">{s['headline']}</h2>
|
||||
<p style="font-size:14px;line-height:1.7;margin:0 0 18px;">{s['lede']}</p>
|
||||
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin:22px 0;"><tr><td style="background:#ecfdf5;border:2px solid #6ee7b7;border-radius:10px;padding:18px;">
|
||||
<h3 style="margin:0 0 10px;font-size:15px;color:#065f46;font-weight:700;">{s['issue_title']}</h3>
|
||||
<div style="font-size:13px;color:#065f46;line-height:1.7;">{s['issue_html']}</div>
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin:22px 0;"><tr><td style="background:#fffbeb;border:2px solid #fcd34d;border-radius:10px;padding:18px;">
|
||||
<h3 style="margin:0 0 10px;font-size:15px;color:#92400e;font-weight:700;">⚠️ {s['issue_title']}</h3>
|
||||
<div style="font-size:13px;color:#7c2d12;line-height:1.7;">{s['issue_html']}</div>
|
||||
</td></tr></table>
|
||||
|
||||
<!-- Detail row -->
|
||||
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="margin:18px 0;font-size:13px;">
|
||||
<tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:10px 0;color:#6b7280;">NPI</td><td style="padding:10px 0;font-weight:600;text-align:right;">{{{{ .Subscriber.Attribs.npi }}}}</td></tr>
|
||||
<tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:10px 0;color:#6b7280;">{s['detail_label']}</td><td style="padding:10px 0;font-weight:600;text-align:right;">{{{{ .Subscriber.Attribs.detail }}}}</td></tr>
|
||||
<tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:10px 0;color:#6b7280;">NPI</td><td style="padding:10px 0;font-weight:600;text-align:right;color:#1f2937;">{{{{ .Subscriber.Attribs.npi }}}}</td></tr>
|
||||
<tr style="border-bottom:1px solid #e5e7eb;"><td style="padding:10px 0;color:#6b7280;">{s['detail_label']}</td><td style="padding:10px 0;font-weight:600;text-align:right;color:#b91c1c;">{{{{ .Subscriber.Attribs.detail }}}}</td></tr>
|
||||
<tr><td style="padding:10px 0;color:#6b7280;">Our service fee</td><td style="padding:10px 0;font-weight:700;text-align:right;color:#047857;">{s['price']}</td></tr>
|
||||
</table>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue