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

Is there anyway to enable dark mode on emails themesleves? #384

Closed
se7enge opened this issue Mar 21, 2021 · 3 comments
Closed

Is there anyway to enable dark mode on emails themesleves? #384

se7enge opened this issue Mar 21, 2021 · 3 comments

Comments

@se7enge
Copy link

se7enge commented Mar 21, 2021

As stated in the title, I am just wondering if there is anyway to get my emails to appear as a dark background with white text. I have the native dark mode enabled and I really like the look, but it is quite annoying, for my eyes at least, to have the emails be white when everything else is darkened.

If not possible through the basic settings, then is there some way to do this via css? I am relatively unfamiliar with css so apologies if there is an obvious way to do this with a custom css profile.

Any help is much appreciated :)

Josh

@vladimiry
Copy link
Owner

vladimiry commented Mar 22, 2021

emails to appear as a dark background with white text

Official / @ProtonMail UI does have a dark theme but as far as I know email the body content is still being rendered as black text on white background. It's in general understandable since it's not easy to render a random HTML content in proper dark mode.

As for the enabling a custom dark mode in the app, keep track of #242. So not implemented yet but in general possible including the email body content rendering since the app in local store / database view mode renders the body content in text format only (HTML gets transformed to text). The initial / minimal change was highlighted and made in relation to #238 (so far only gray color took place instead of originally used white one).

then is there some way to do this via css? I am relatively unfamiliar with css

In general it's possible. But you have to be well familiar with CSS in order to fulfill the task. Custom CSS support is enabled in the app since https://github.com/vladimiry/ElectronMail/releases/tag/v4.10.0, see #355.

@Jombazi
Copy link

Jombazi commented May 1, 2021

Care to share the custom css code ?

@romeoacevedo
Copy link

Did you ever get the CSS code to change the email to dark mode?

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

No branches or pull requests

4 participants