Countdown Timers

Dark mode tips for countdown timers

Last updated

In dark mode, email apps change your email's colors. Some leave your design mostly alone, others darken backgrounds and lighten text, and Gmail tends to change the most. Your timer is an image, so its colors never change. These tips keep it looking right in both modes.

Why a timer can look wrong in dark mode

The email around the timer turns dark, but the timer keeps the colors you chose. A timer with a white background ends up as a bright white box in a dark email.

The same email in light and dark mode. In dark mode the email turns dark grey but the timer keeps its white background and stands out as a white box

You can't control how each email app recolors your email, so design the timer to look intentional on any background.

1. Give the timer its own background

A timer with its own solid background, like your brand color, looks the same in both modes. It reads as a deliberate design element instead of a gap in the email. Add some Padding (Standard and above) around the timer so it sits on a clear card.

A navy Ring Progress timer with padding shown in the same email in light and dark mode, looking the same in both

2. Be careful with transparent backgrounds

A transparent timer's edges are smoothed against the background color you pick, even with Transparent on. With white picked, you get a pale fringe around the digits when the email turns dark.

If the timer has to be transparent:

  • Pick a mid-grey background color, like #808080. The fringe is then much less visible on both light and dark backgrounds.
  • Only use it on a plain, single-color section. On a photo or gradient, the edges look rough in either mode.
A transparent blue timer on a dark background with a white background color, showing a pale fringe, and the same timer with a mid-grey background color on dark and on white, where the fringe is far less visible. Magnified insets show the edge pixels

More on this in why is my transparent background countdown timer blurry?

3. Choose colors for the timer's background, not the email's

Strong contrast between the digits and the timer's own background keeps it readable whatever surrounds it. White or light digits on a dark or brand-colored background work in both modes. Dark digits on a transparent background disappear in dark mode.

4. Add a text outline

Turn on Text outline (Power and above) to draw a border around the digits and labels. A light outline around dark digits, or a dark one around light digits, keeps them readable on any background. Find it at the bottom of Text and Labels.

A transparent timer with navy digits that almost disappears on a dark background, the same timer with a white outline that is readable on dark, and the outlined timer on white

5. Go bigger

Larger timers have more pixels per digit, so edges look smoother in both modes. Increase the Size or Label Font Size.

For extra sharpness on high-resolution screens, choose a size twice as wide as you need and add a width to the image tag in your code. For example, an X-Large timer (about 800 px wide) with width="400" shows at 400 px with twice the detail.

6. Try a style with built-in shapes

Blocks, rings and pill styles give the digits their own colored shapes, so they don't depend on the email's background. See countdown timer customization options for all the styles.

What doesn't help

Dark mode code in your email template, such as prefers-color-scheme CSS, can't change the timer. Its colors are part of the image, and many email apps ignore that code anyway.

Test before you send

Send yourself a test and open it with dark mode on in the apps your subscribers use most, for example:

  • Gmail on iPhone and on Android
  • Gmail in a web browser
  • Apple Mail on iPhone and Mac
  • Outlook

Each app handles dark mode a little differently, so check more than one. If something looks off after you've sent the email, change the timer in Sendtric. The fix shows the next time the email is opened.

To learn more about email countdown timers, see our Email Countdown Timer page.

Related

Was this article helpful?

Click the image to zoom in. Drag or scroll to look around.