Skip to content

A platform for community discussion. Free, open, simple.

update email dark mode styles (#16484)

Isaac Janzen10a4bbfa729a
diff --git a/app/helpers/email_helper.rb b/app/helpers/email_helper.rb
index 10209c40ca3..4d95386af4e 100644
--- a/app/helpers/email_helper.rb
+++ b/app/helpers/email_helper.rb
@@ -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;
}
}
diff --git a/lib/email/styles.rb b/lib/email/styles.rb
index 81aefeb2b84..44dbc482edf 100644
--- a/lib/email/styles.rb
+++ b/lib/email/styles.rb
@@ -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