Open Gandalf-the-Blue opened 7 months ago
i'm also having the same issue
I found a temporary solution by changing Proton's own theme to Snow.
I find that changing the theme within Proton itself doesn't solve the issue entirely. For example, here's screenshots of a plaintext test email I sent to myself (no styling), and a styled email from a Substack mailing list.
Using Proton's dark theme Carbon with Catppuccin applied via Stylus, the plaintext email is unreadable, whereas the Substack email reads just fine:
Changing Proton's theme to the default light theme Proton, the plaintext email becomes legible, and the substack email loses it's proper styling:
Yeah, my own previous "solution" worked for certain emails, but did not for a majority of them. I only discovered this later.
After a bit of fiddling, I've noticed that removing line 61 from the CSS fixes this issue, at least if you're on a dark theme in Catppuccin (Frappé, Macchiato or Mocha) and in Proton (Carbon, Monokai or Ebony):
- color-scheme: if(@lookup = latte, light, dark);
I'm sure this breaks something if you use another theme combination (particularly Latte), but it works for me on Mocha x Carbon.
@lplawlor commenting out this line still appears to work with dark-mode only for me. Thanks!
Not sure what a good long-term solution is here.
I did notice that it breaks only when first opening a message in Proton Mail (likely because of how the iframe
is loaded). After I switch to another message, and then switch back to the previously broken message, it works fine (even without the fix).
Not sure if this helps anyone come to a long-term fix or not, but, I'd say it's still broken as-is since it still requires the work-around to get properly displayed messages on initial load.
Is there an existing issue outlining your problem?
What userstyles are you seeing the problem on?
lbl:proton
Describe your problem.
Some text inside messages is rendered in white colour, and the background is also white, so I cannot see the text.
Attach screenshots.
What browser(s) are you seeing the problem on?
LibreWolf 124.0.1-1
Any additional comments?
When selecting the text as in the screenshot, it is revelaed.