chore: migrate mail themes to shared framework and locked upstream inputs
Release / Validate Templates (push) Canceled after 0s
Release / Package & Release (push) Canceled after 0s
Release / Update Latest Release Documentation (push) Canceled after 0s

This commit is contained in:
KenanZhu committed 2026-10-09 18:34:36 +08:00
1 parent 5c0589f6f6
commit fec3ace600
225 files changed
+4718 -15807

No files matched your search

+79
View File
@@ -0,0 +1,79 @@
/* Base */
body,.ExternalClass,.ReadMsgBody { background-color:#0d1117 }
.email-wrap { max-width:600px;margin:40px auto;font-family:'JetBrains Mono','Fira Code','Consolas','Courier New',monospace }
/* Header */
.email-logo { display:block;margin:0 auto 14px;border:0;outline:none;opacity:0.5 }
.email-brand { font-size:16px;font-weight:700;color:#00ff41;letter-spacing:0.5px }
.email-header { padding:24px 28px 16px;text-align:left;border-bottom:2px solid #30363d;background:#161b22 }
/* Card */
.email-card { padding:28px 28px 20px;background:#161b22;color:#c9d1d9 }
.email-heading { margin:0 0 12px;font-size:15px;font-weight:400;color:#58a6ff;line-height:1.6 }
.email-text { margin:0 0 8px;font-size:14px;line-height:1.6;color:#c9d1d9;font-weight:400 }
.email-subtext { margin:0 0 20px;font-size:14px;line-height:1.6;color:#8b949e;font-weight:400 }
/* Divider */
.email-divider { height:2px;background:#30363d;margin:0 }
/* Button */
.email-btn-row { padding:28px 28px 20px;text-align:left;background:#161b22 }
.email-btn,.card-body .email-btn,.card-body .email-btn:link,.card-body .email-btn:visited { display:inline-block;padding:11px 24px;font-size:14px;font-weight:700;color:#0d1117!important;text-decoration:none!important;background-color:#00ff41;border:2px solid #00ff41;font-family:'JetBrains Mono','Fira Code','Consolas',monospace;letter-spacing:0.5px }
.email-btn-table { margin:24px 0 20px;border-collapse:separate }
/* Fallback link */
.email-link-box { background:#0d1117;border:1px solid #30363d;margin:20px 0 12px }
.email-link-label { margin:0 0 6px;font-size:12px;color:#8b949e;font-weight:400 }
.email-link-url { margin:0;font-size:12px;color:#58a6ff;word-break:break-all;line-height:1.6 }
/* Footer */
.email-footer { padding:16px 28px 20px;text-align:left;border-top:1px solid #30363d;background:#0d1117 }
.email-footer-text { margin:0;font-size:12px;color:#484f58;font-weight:400 }
.email-footer-link { color:#58a6ff;text-decoration:none;font-weight:400 }
/* Typography utilities */
.card-body h1,.card-body h2,.card-body h3,.card-body h4,.card-body h5,.card-body h6 { color:#58a6ff!important }
.card-body a,.card-body a:link,.card-body a:visited { color:#58a6ff!important;text-decoration:underline!important }
.card-body a:hover,.card-body a:active { color:#79c0ff!important }
.card-body li { color:#c9d1d9!important }
/* Responsive */
@media only screen and (max-width:480px) {
.email-card { padding:20px 16px!important }
.email-btn-row { padding:20px 16px!important }
.email-heading { font-size:14px!important }
}
/* Official-snapshot presentation adapter: no content or translation overrides. */
body { margin:0; padding:24px 16px; background-color:#0d1117; }
body, td { font-family:Consolas,'Courier New',monospace; }
.email-wrap { width:100%; max-width:600px; border-collapse:separate; border-spacing:0; }
.card-body { font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.card-body > pre, .card-body code { font-family:Consolas,monospace; white-space:pre-wrap; overflow-wrap:anywhere; }
.card-body ul { padding-left:22px; }
.card-body blockquote { padding-left:16px; border-left:3px solid #00ff41; }
.mail-footer { margin:0; }
.mail-footer td { border-top-color:transparent!important; color:#c9d1d9!important; }
.mail-footer a { color:#00ff41!important; text-decoration:none; }
.email-body { padding:32px; }
.email-card { border-left:1px solid #30363d; border-right:1px solid #30363d; }
.card-body > pre { padding:16px; background:#0d1117; border:1px solid #30363d; color:#00ff41; }
@media only screen and (max-width:480px) {
body { padding:12px 8px; }
.email-wrap { margin:0 auto; }
.email-body { padding:24px 18px!important; }
.card-body { width:auto!important; }
.resp-hide { display:none!important; }
}
/* Shared framework controls: keep URLs readable, never style them as CTAs. */
.email-link-cell { padding:16px 18px; }
.email-link-url a,.card-body .email-link-url a { color:inherit!important; text-decoration:none!important; font-size:inherit; }
.email-link-url { overflow-wrap:anywhere; word-break:break-all; }
.email-action { margin:20px 0 0; }
.email-btn-row { box-sizing:border-box; }
.card-body .email-btn { max-width:100%; box-sizing:border-box; white-space:normal; overflow-wrap:anywhere; }
@media only screen and (max-width:480px) { .card-body .email-btn { display:block; text-align:center; width:100%; } .email-btn-table { width:100%; } }