Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

avelino
Copy link
Contributor

@avelino avelino commented Jul 31, 2020

fixed: #2109

@CLAassistant
Copy link

CLAassistant commented Jul 31, 2020

CLA assistant check
All committers have signed the CLA.

@bengotow
Copy link
Collaborator

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]>
@avelino
Copy link
Contributor Author

avelino commented Aug 17, 2020

@bengotow would that be your recommendation?

@foundry376-bot
Copy link

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

@CodeMouse92
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: keep the content area (where the email is displayed) black theme
6 participants