DEV Community

Cover image for Mailspring/email client inverts colors in dark mode
Daniil Pankov
Daniil Pankov

Posted on

1 1

Mailspring/email client inverts colors in dark mode

Hey, Mailspring / other mail client team, I found out your little secret, thanks for spending my time solving mystery on why the heck my dark email becomes white and shiny?!

Solution

In your body tag or in your .css add:

  body {
    filter: none !important;
  }
  img {
    filter: none !important;
  }
Enter fullscreen mode Exit fullscreen mode

Next time your email client will do this shit, please take a look into the source code (Ctrl + Shift + I) and search for filter or something like that, usually inline styles will overlap any other styles and thing will work

ENJOY!

Top comments (0)

SurveyJS custom survey software

JavaScript UI Libraries for Surveys and Forms

SurveyJS lets you build a JSON-based form management system that integrates with any backend, giving you full control over your data and no user limits. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay