mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 03:09:43 +00:00
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:
parent
2f3b518920
commit
10a4bbfa72
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user