-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
open email: keep white content area #2110
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Avelino <[email protected]>
Hey folks! Thanks for filing this—I think that this might have a few inadvertent effects. I think there are a few dark mode themes that try to do a transparent background and make the text on top white. In that case hardcoding the background color to ignore the theme will make it white-on-white. I think we probably want to inject the white background into the email iframe CSS #inbox-html-wrapper here: https://github.com/Foundry376/Mailspring/blob/master/app/static/style/email-frame.less#L72:L72. I think that'd also let themes (like the built in dark theme) that automatically invert the email coloring to achieve black-on-white instead of white-on-black keep doing what they're doing! |
avoiding undesirable behaviour on dark themes Signed-off-by: Avelino <[email protected]>
@bengotow would that be your recommendation? |
This pull request has been mentioned on Mailspring Community. There might be relevant details there: https://community.getmailspring.com/t/poor-text-rendering-in-dark-theme/886/7 |
@avelino This topic has come up again here: https://community.getmailspring.com/t/poor-text-rendering-in-dark-theme/886 I think what @bengotow posted would indeed be the recommendation. Furthermore, we were discussing in the thread above making the dark/light-mode emails a separate option from UI theme. We'd appreciate if you weighed in there, and even more if you would be willing to update this PR to incorporate Ben's suggestion, and maybe even that toggle option. |
6e3d754
to
30ef802
Compare
4b2f682
to
445546f
Compare
d2b6571
to
974a68c
Compare
d28f2ff
to
3001c1c
Compare
e0bdee2
to
de5e87e
Compare
77d1cc7
to
e2e0f88
Compare
fixed: #2109