Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

black text for conversation #27

Closed
log69 opened this issue Mar 16, 2018 · 4 comments
Closed

black text for conversation #27

log69 opened this issue Mar 16, 2018 · 4 comments

Comments

@log69
Copy link

log69 commented Mar 16, 2018

Your Environment

  • Theme used: Default (Proton)
  • Browser name and version: Firefox 59 x64
  • OS/Device version: Linux / Ubuntu 16 x64

What is the Problem?

Most of the time the conversation texts are gray and so they are hard to read. I want them black all the time to get full contrast. Could you help me with a short CSS code to make it? Thanks for your work.

@amdelamar
Copy link
Owner

amdelamar commented Mar 16, 2018

I think this should do it.

/* Message body text */
#conversation-view .message {
  color: var(--black) !important;
}

/* Message header details */
#conversation-view .message .frame {
  color: var(--black) !important;
}

@log69
Copy link
Author

log69 commented Mar 16, 2018

It's doesn't help. The email body of some messages still stay gray. Could it have anything to do with HTML formatted mails that are not plain texts? Though plain texts come in gray as well.

@amdelamar
Copy link
Owner

amdelamar commented Mar 16, 2018

It works for me. On plaintext and some HTML simple emails. But not complex HTML like newsletters for example.

How are you pasting the CSS? Right into the custom theme box and after the @import statement correct?

/* Copy this line into ProtonMail's custom theme box: */
@import url("https://austindelamar.com/pm-theme/themes/pm-flat-theme.min.css");

#conversation-view .message {
  color: var(--black) !important;
}
#conversation-view .message .frame {
  color: var(--black) !important;
}

@log69
Copy link
Author

log69 commented Mar 16, 2018

It works now. I didn't know I'm supposed to add the @import to it. Thanks a lot, it greatly improves my reading.

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

No branches or pull requests

2 participants