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

Proton: Some text inside message in not visible but present #828

Closed
2 tasks done
Gandalf-the-Blue opened this issue Apr 20, 2024 · 5 comments · Fixed by #919
Closed
2 tasks done

Proton: Some text inside message in not visible but present #828

Gandalf-the-Blue opened this issue Apr 20, 2024 · 5 comments · Fixed by #919
Labels
proton Proton

Comments

@Gandalf-the-Blue
Copy link
Contributor

Gandalf-the-Blue commented Apr 20, 2024

Is there an existing issue outlining your problem?

  • I am using the latest version of the provided userstyle.
  • I have searched the existing issues and they do not solve my 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.

Screenshot from 2024-04-20 19-31-09

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.

@github-actions github-actions bot added the proton Proton label Apr 20, 2024
@milkembers
Copy link

i'm also having the same issue

@Gandalf-the-Blue
Copy link
Contributor Author

I found a temporary solution by changing Proton's own theme to Snow.

@lplawlor
Copy link
Contributor

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:
image
image

Changing Proton's theme to the default light theme Proton, the plaintext email becomes legible, and the substack email loses it's proper styling:
image
image

@Gandalf-the-Blue
Copy link
Contributor Author

Yeah, my own previous "solution" worked for certain emails, but did not for a majority of them. I only discovered this later.

@lplawlor
Copy link
Contributor

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);

image
image

I'm sure this breaks something if you use another theme combination (particularly Latte), but it works for me on Mocha x Carbon.

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

Successfully merging a pull request may close this issue.

3 participants