update email dark mode styles (#16484)

Update dark mode styles for:

- secure media
- code blocks (they were too dark and had bad contrast)
This commit is contained in:
Isaac Janzen 2022-04-14 15:08:09 -05:00 committed by GitHub
parent 2f3b518920
commit 10a4bbfa72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View File

@ -63,6 +63,10 @@ module EmailHelper
color: #dddddd !important;
}
[data-stripped-secure-media] {
border-color: #454545 !important;
}
[dm='text-color'] {
color: #dddddd;
}
@ -85,17 +89,13 @@ module EmailHelper
color: #dddddd !important;
}
[dm='secure-media-notice'] {
border-color: #454545 !important;
}
[dm='body_primary'] {
background: #062e3d !important;
color: #dddddd !important;
}
[dm='bg'] {
background: #232323 !important;
background: #323232 !important;
border-color: #454545 !important;
}
}

View File

@ -343,7 +343,6 @@ module Email
style(".with-accent-colors, .digest-content-header", nil, dm: "body_primary")
style(".digest-topic-body", nil, dm: "topic-body")
style(".summary-footer", nil, dm: "text-color")
style(".secure-media-notice", nil, dm: "secure-media-notice")
style("code, pre code, blockquote", nil, dm: "bg")
end