Files
minstrel/internal/mailer/templates/password_reset.html
T
bvandeusenandClaude Opus 5.5 7c6c47cdb2
release / go (push) Successful in 2m0s
release / web (push) Successful in 1m26s
release / govulncheck (push) Successful in 20s
release / integration (push) Successful in 4m16s
release / android (push) Successful in 4m23s
release / Build signed APK (push) Successful in 4m52s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 17s
release / Verify release artifacts (tag releases only) (push) Skipped
feat(mailer): emails follow a light system theme, and stay dark otherwise
Every email is still drawn dark inline, so a client that can't tell the
reader's theme shows the app's own look. A stylesheet gives each coloured
element the design system's light colours when the reader's system is
light. A test checks that every element drawn dark carries the class that
lightens it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 16:15:48 -05:00

8 lines
692 B
HTML

<p style="{{style "p"}}">Hello <strong>{{.Username}}</strong>,</p>
<p style="{{style "p"}}">A password reset was requested for your Minstrel account. To set a new
password, use the button below within <strong>{{.ExpiryHours}}</strong> hours.</p>
<p style="margin:24px 0;"><a href="{{.ResetURL}}" style="{{style "button"}}">Reset password</a></p>
<p class="{{class "quiet"}}" style="{{style "p"}} {{style "quiet"}}">Or copy this address into your browser:<br>
<span class="{{class "code"}}" style="{{style "code"}}">{{.ResetURL}}</span></p>
<p class="{{class "quiet"}}" style="margin:0; {{style "quiet"}}">If you didn't ask for this, you can ignore this email. Your password won't change.</p>