From d9e6873f497585591ce2b6a99381947d2c06b3a9 Mon Sep 17 00:00:00 2001 From: KenanZhu <3471685733@qq.com> Date: Wed, 3 Jun 2026 20:34:32 +0800 Subject: [PATCH] fix(aurora): add card-body CSS to prevent dark text/links on dark background MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aurora is a dark theme (bg #0a0815, card rgba(25,20,50,0.8)) but raw HTML elements like h2/h4/li/a inside the card had no inline color — rendering as browser-default black text and blue links, unreadable on dark backgrounds. Fix: add .card-body CSS rules to all 11 Aurora templates covering h1-h6, links, and li elements. Also add .aurora-content wrapper for user-generated HTML (Release.RenderedNote, .Body, .RenderedContent) with full color coverage for code, pre, blockquote, hr, img. Co-Authored-By: Claude Opus 4.8 --- themes/aurora/mail/org/team_invite.tmpl | 6 +++++- .../aurora/mail/repo/actions/workflow_run.tmpl | 6 +++++- themes/aurora/mail/repo/collaborator.tmpl | 6 +++++- themes/aurora/mail/repo/issue/assigned.tmpl | 6 +++++- themes/aurora/mail/repo/issue/default.tmpl | 16 ++++++++++++++-- themes/aurora/mail/repo/release.tmpl | 16 ++++++++++++++-- themes/aurora/mail/repo/transfer.tmpl | 6 +++++- themes/aurora/mail/user/auth/activate.tmpl | 6 +++++- themes/aurora/mail/user/auth/activate_email.tmpl | 6 +++++- .../aurora/mail/user/auth/register_notify.tmpl | 6 +++++- themes/aurora/mail/user/auth/reset_passwd.tmpl | 6 +++++- 11 files changed, 73 insertions(+), 13 deletions(-) diff --git a/themes/aurora/mail/org/team_invite.tmpl b/themes/aurora/mail/org/team_invite.tmpl index 4920392..ae38ac6 100644 --- a/themes/aurora/mail/org/team_invite.tmpl +++ b/themes/aurora/mail/org/team_invite.tmpl @@ -7,6 +7,10 @@ {{AppName}} - Team Invitation