Files
minstrel/internal/notifications/templates/digest.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

16 lines
922 B
HTML

<p style="{{style "p"}}">Hello <strong>{{.Name}}</strong>,</p>
<p style="margin:0;">{{.Intro}}</p>
{{range .Artists}}
<p class="{{class "group"}}" style="{{style "group"}}">{{if .URL}}<a href="{{.URL}}" class="{{class "link"}}" style="{{style "link"}}">{{.Name}}</a>{{else}}{{.Name}}{{end}}</p>
{{if .Titles}}<ul style="{{style "list"}}">
{{range .Titles}}<li style="{{style "item"}}">{{if .URL}}<a href="{{.URL}}" class="{{class "link"}}" style="{{style "link"}}">{{.Title}}</a>{{else}}{{.Title}}{{end}}</li>
{{end}}</ul>{{end}}
{{end}}{{if .Items}}
<ul style="margin:16px 0 0; padding-left:20px;">
{{range .Items}}<li style="margin:8px 0;">
{{if .URL}}<a href="{{.URL}}" class="{{class "link"}}" style="{{style "link"}} font-weight:600;">{{.Title}}</a>{{else}}<strong>{{.Title}}</strong>{{end}}
{{if .Body}}<br><span class="{{class "quiet"}}" style="{{style "quiet"}}">{{.Body}}</span>{{end}}
</li>
{{end}}</ul>
{{end}}