-
Notifications
You must be signed in to change notification settings - Fork 914
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
Bug: Dark text using dark themes #1928
Comments
Hey! I posted a reply about this issue on the theme-starter repository. It looks like in general, folks have been using CSS to set the default text color of the email frame, but that value is often overridden by explicit colors specified in the email HTML. (For example I think Microsoft Outlook labels every single line of text with Thanks! |
How do you load email-frame.less? I cannot get it to change the message body (trying to increase font size of the messages):
No effect. I tried looking at other dark themes - I do not understand how they are able to modify the contents of the iframe. |
Has there been an update with this? I am having trouble with this as well and email-frame.less doesn't seem to fix it. |
I tried to fix this in my take on the dark theme Predawn: https://github.com/asparc/ui-predawn |
@asparc it does not seem to apply the style to |
As @bengotow already mentioned above, it requires quite some trickery. The embedded I'll try to explain the rationale of my approach. Inside the
As opposed to other approaches around, this approach is able to do the following two things simultaneously:
Quite some hacks become necessary when you want to smoothen all the details:
As this involves quite some code, I'll still refer you to my repo, more specifically: https://github.com/asparc/ui-predawn/blob/master/styles/email-frame.less. It contains quite some comments... As for the screenshots, I think it's easy enough to install the predawn theme and see for yourself. |
Got it - I figured most of what you said out, big thing I was missing is removing "index.less" file! Thank you! |
This issue has been mentioned on Mailspring Community. There might be relevant details there: https://community.getmailspring.com/t/dark-text-using-dark-themes/448/1 |
We are in the process of migrating issues to Discourse, which can better facilitate discussion and discovery, and so GitHub Issues can focus on issues that are confirmed and slated for resolution in the near term. Learn more about the changes here. As part of this, we've migrated this issue (and nearly the entire conversation) to Discourse: https://community.getmailspring.com/t/dark-text-using-dark-themes/448 Please consider joining that community and continuing the discussion there! @REDerPANDA @dkotik @asparc: if you join and reply to the issue, the moderators can make an effort to reassign your posts to you, so you get the credit for them. We're closing and locking the issue here as part of this migration. Rest assured, this doesn't mean the issue is being discarded or ignored. We hope to see you on Discourse soon! -The Mailspring Team |
Describe the bug
With every dark theme I try to use, some text shows as black while some shows light. Have tried tinkering with the themes and it does not seem that anything I do changes the behavior.
Expected behavior
All text appears in a light color for readability.
Screenshots
Setup: (please complete the following information):
Additional context
I have seen this come up when searching but in most cases it is marked as fixed (like #1290).
The text was updated successfully, but these errors were encountered: