FIX: update dark mode emails styles (#16461)

- divider sometimes is too bright
- lists have dark text on dark copy
- border around the “secure media” message is bright
This commit is contained in:
Isaac Janzen 2022-04-12 13:13:34 -05:00 committed by GitHub
parent 86c7e07428
commit 5f9c98dfc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -58,7 +58,8 @@ module EmailHelper
h5,
h6,
p,
span {
span,
td {
color: #dddddd !important;
}

View File

@ -342,6 +342,8 @@ module Email
style(".digest-content, .header-popular-posts, .spacer, .popular-post-spacer, .popular-post-meta, .digest-new-header, .digest-new-topic, .body", nil, dm: "body")
style(".with-accent-colors, .digest-content-header", nil, dm: "body_primary")
style(".summary-footer", nil, dm: "text-color")
style(".digest-topic-body", "border-bottom: 1px solid #454545 !important;")
style('div.secure-media-notice', 'border: 5px solid #454545 !important;')
end
def replace_relative_urls