themes-terminal/templates/email/terminal.ninjatpl
Alex Dunmow f6e2c1dccc feat: convert to codeless .bnp — templates + manifest, Go/templ deleted (WO-WZ-021)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 15:31:20 +08:00

12 lines
3.2 KiB
Plaintext

{% set c_bg = colors.background|default:"#0a0a0a" %}{% set c_fg = colors.foreground|default:"#00ff00" %}{% set c_bd = colors.border|default:"#1a4a1a" %}{% set c_mf = colors.mutedForeground|default:"#5a8c5a" %}<!doctype html><!-- text/plain alternative
================================================================================
{{ body|safe }}
================================================================================
--
{% if site_name %}{{ site_name }}
{% endif %}{% if site_url %}{{ site_url }}
{% endif %}{% if unsubscribe_url %}unsubscribe: {{ unsubscribe_url }}
{% endif %}
--><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>{{ site_name }}</title></head><body style="background-color: {{ c_bg }}; margin: 0; padding: 0; font-family: &amp;#39;JetBrains Mono&amp;#39;, &amp;#39;IBM Plex Mono&amp;#39;, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;">{% if preview_text %}<div style="display:none; max-height:0; overflow:hidden;">{{ preview_text }}</div>{% endif %}<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: {{ c_bg }};"><tr><td align="center" style="padding: 32px 12px; font-family: &amp;#39;JetBrains Mono&amp;#39;, &amp;#39;IBM Plex Mono&amp;#39;, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: {{ c_fg }};"><table role="presentation" width="640" cellspacing="0" cellpadding="0" border="0" style="max-width: 640px; width: 100%; border: 1px solid {{ c_bd }}; background-color: {{ c_bg }};"><tr><td style="padding: 16px 24px 0; font-family: &amp;#39;JetBrains Mono&amp;#39;, &amp;#39;IBM Plex Mono&amp;#39;, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: {{ c_fg }}; letter-spacing: 0.05em;">================================================================================</td></tr><tr><td style="padding: 16px 24px; font-family: &amp;#39;JetBrains Mono&amp;#39;, &amp;#39;IBM Plex Mono&amp;#39;, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: {{ c_fg }}; font-size: 14px; line-height: 1.6;">{{ body|safe }}</td></tr><tr><td style="padding: 0 24px; font-family: &amp;#39;JetBrains Mono&amp;#39;, &amp;#39;IBM Plex Mono&amp;#39;, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: {{ c_fg }}; letter-spacing: 0.05em;">================================================================================</td></tr><tr><td style="padding: 16px 24px; font-family: &amp;#39;JetBrains Mono&amp;#39;, &amp;#39;IBM Plex Mono&amp;#39;, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: {{ c_mf }}; font-size: 12px;"><pre style="margin: 0; font-family: &amp;#39;JetBrains Mono&amp;#39;, &amp;#39;IBM Plex Mono&amp;#39;, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: {{ c_mf }}; white-space: pre-wrap;">--
</pre>{% if site_name %}<div>{{ site_name }}</div>{% endif %}{% if site_url %}<div><a href="{{ site_url }}" style="color: {{ c_fg }}; text-decoration: underline;">{{ site_url }}</a></div>{% endif %}{% if unsubscribe_url %}<div><a href="{{ unsubscribe_url }}" style="color: {{ c_mf }}; text-decoration: underline;">unsubscribe</a></div>{% endif %}</td></tr></table></td></tr></table></body></html>