update dark mode email styles (#16480)

Update dark mode styles for:

secure media borders
code blocks
quote blocks
This commit is contained in:
Isaac Janzen 2022-04-14 12:51:09 -05:00 committed by GitHub
parent 7c27c839de
commit 0acbd63320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -343,7 +343,10 @@ module Email
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;')
style(".secure-media-notice", "border: 5px solid #454545 !important;")
style("code", "background-color: #454545 !important;")
style("pre code", "background-color: #454545 !important;")
style("blockquote", "background-color: #454545; !important")
end
def replace_relative_urls