How dark mode affects email marketing


In recent months, we have seen this new way of visualizing our digital workspaces arrive to stay: the dark mode or dark mode. Since Apple implemented it last year, there have been many devices and applications that have adapted to this way of displaying content, creating confusion in the email sector when it comes to choosing the right one. adapt our CSS styles to this new visualization. The first question that arises is:

What is the purpose of the dark mode or dark mode?

  • Less damage to the eyes. The reduction of brightness causes less effort for our eyes.
  • Improves comfort in dark environments. Dark mode helps us use screens at night or in spaces with little light.
  • Battery saving. Darker colors require less brightness, which consumes less battery in our devices.

The popularity of the dark mode has grown rapidly since users appreciate the convenience it brings and the added durability of their batteries. And with this rapid growth, the email industry has received it in an inconsistent and disorganized way. Therefore, we will analyze the current state of the dark mode in email and how email marketers can adapt to it. Before diving into that, a note: we will be discussing emails developed in HTML, as text emails are natively converted without much difficulty.

Which email clients support dark mode?

  • Mobile applications
    • Gmail APP (iOS / Android)
    • Outlook App (iOS/Android)
  • Desktop Applications
    • Apple Mail
    • Outlook 2019 (Mac/Windows)
  • Web clients
    • Outlook.com

How do the different email clients/devices implement the dark mode?

Here is where the trouble begins. There are 3 different modes to apply the Dark Mode according to the email client: By reversing all the colors declared in CSS (Total inversion), by reversing only the light backgrounds and keeping the colors in areas that are already dark (Partial inversion) or by respecting the original colors (Original color).

 The different email clients implement this in the following way:

  • Gmail App (Android) Partial Investment
  • Gmail App (iOS) Total investment
  • Outlook (Android) Partial Investment
  • Outlook (iOS) Partial Investment
  • iOS Mail Original Color
  • Apple Mail Original Color
  • Outlook 2019 (MacOS) Partial Investment
  • Outlook 2019 (Windows) Total Investment

Source: Litmus Blog

This diversity in how different email clients implement the dark mode is the first hurdle we encounter when trying to find a stable solution for all of them. The way our email looks now in different environments is different, and we have to make sure it is as consistent as possible.

Which email clients support overwriting styles in their dark mode?

Not only do the different email clients apply the dark mode differently, but the support for the CSS styles used to shape that mode is not uniform.

This is important because without agreement between the different email clients on what details can be overwritten, our efforts to make the email look the same everywhere will be in vain. We can only try to ensure that the changes involve the Minimum damage to the design in the different versions.

Apple apps allow us to code specific styles for the dark mode using a media query:

@media (prefers-color-scheme: dark)

However, this method is not supported on other devices and applications. After the native iPhone application, the most used email client is Gmail, whose app does not allow us to apply changes to its dark mode styles. Another client that does not allow any modification to these styles is Outlook 2019, although it is a very minor application in B2C lists. Finally, a service that does allow modifications through another method is Outlook.com, Mark Robins explains it in this link How to do it using the tags [data-ogsc] and [data-ogsb]. 

However, Outlook.com is also not one of the most used services, which makes it difficult to justify developing specific styles for this environment.

In most hearings, Apple and Gmail account for about two-thirds of the openings.

In summary

We could stick with the following ideas:

Apple It is the system that breaks our emails the least in dark mode, keeping the styles we give in HTML by default and applying the dark mode only to the application interface and not to the content of our email. Although we can create specific styles for the dark mode that affect the content, which would mean generating specific code for this dark mode and adding it within a media query to the original HTML for normal mode.

Problems come, especially with Gmail App, Outlook.com, and Outlook 2019 Windows. There is no way to shape the dark mode of Gmail and Outlook 2019 using CSS. And in the case of Outlook.com, because it requires specific coding for this service and is a minority requirement, it is placed at the bottom of the development priorities.

After this analysis and putting it into daily practice, we came to these conclusions…

Given the complexity involved in the different views and formats used by all email clients, Developing ad hoc solutions for the dark mode can be costly and the result can be inconsistent. Any application of specific styles for the dark mode will only apply to Apple devices (where the original design is already displayed correctly) and Outlook.com (minority). Gmail App is one of the most widely used email clients, and we could not apply changes to the dark mode using CSS. Therefore, developing specific styles for the dark mode may not be cost-effective (given that it would require development time and therefore additional costs, without being able to apply the changes uniformly and stably across all email clients). Nevertheless, if sufficient resources are available, Solutions targeted at Mac/iOS applications and Outlook.com can be developed using the techniques mentioned above.

But in reality, the scenario we are facing is that customers do not usually see this type of development as profitable given the inconsistent results we are currently seeing. Assuming that on iPhone (the majority service) the original design is displayed by default, and that we cannot do anything to edit the styles for Gmail App (the second most used service), they usually apply. simpler solutions, without the need for a high investment of time and resources. These solutions are based on adapting the images to different environments and adjusting the code to stabilize some inconsistencies.

Image adaptation for light and dark mode

For correct visualization of the images in both light and dark modes, during the design phase it should be assumed that the cropping of the different areas will be displayed cleanly and aesthetically on light and dark backgrounds (designers should visualize their elements on color layers in different colors and allow cropping with transparency where necessary). Here we present some resources:

  • Placement of dark logos on a solid background

In this case, we use the logo as an image block, with the background included and adapted proportionally to the full width of the device.

  • Shades and silhouettes

An alternative to a solid background is to outline the logo or text in an image with a light color, either with a shadow or with a line.

  • Shapes

In the case of some icons, such as social media platforms, it works very well to use shapes (circles, rounded rectangles…) because they are conventionally used this way. Using the background color of the original email, the shape will only be visible in dark mode. We can also choose to have it appear in both versions using backgrounds that are far from the dark gray and light background color of the original email design.

This is the current situation regarding the dark mode applied to email services. Nevertheless, we remain vigilant for possible updates, as it is so recent, it will most likely be subject to potential changes in functionality.

Now you have the keys to adapt your email to the dark mode. What is your experience? Have you already made changes to your emails to optimize the display in all environments?