Restricted member emails to light mode only#25663
Merged
peterzimon merged 8 commits intomainfrom Jan 13, 2026
Merged
Conversation
ref https://linear.app/ghost/issue/DES-1169/email-cta-for-signups-lacks-contrast-when-received-in-dark-mode - The transactional member emails had a problem that whenever the accent color was set to pure black, the contrast on the buttons was low. After experimenting with various solutions, it seems like the most reliable one is to restrict the available modes in Apple Mail to light only.
Contributor
WalkthroughThis pull request adds color scheme metadata to five email template files within the Ghost member services. Each file receives two identical meta tags in the HTML head section: one declaring Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Notes:
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
minimaluminium
approved these changes
Dec 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ref https://linear.app/ghost/issue/DES-1169/email-cta-for-signups-lacks-contrast-when-received-in-dark-mode
Note
Ensures consistent light-mode rendering for member transactional emails to avoid low-contrast CTAs in dark mode.
<meta name="color-scheme" content="light only">and<meta name="supported-color-schemes" content="light">tosignin.js,signup.js,signup-paid.js,subscribe.js, andupdate-email.jsWritten by Cursor Bugbot for commit 0f58f7d. This will update automatically on new commits. Configure here.