I have a code hack that preserves white text on a black background in most dark mode clients except Windows Mail 10 and 11.
<!--[if mso 16]> Conditional statements work on Outlook (OL 365, OL 2021) desktop but do not display correctly in Windows Mail 10 and 11. Windows Mail likes the css used in <! --[if !mso 16]> conditional blocks. Are there mso condition codes specifically for Windows Mail 10 and 11?
Is there another way to apply styles to separate Outlook (OL Office 365 Dark, Outlook 2021 Dark) and Windows Mail?
1 2 3 4 5 6 7 8 9 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
I applied the <!--[if mso 16]> conditional statement for Outlook and Windows Mail 10 and 11, but found that Windows Mail dark mode handles css differently than Outlook dark mode.
P粉2082867912024-03-28 11:21:50
Outlook Dark Mode
Dark Mode Meta Tag
1 2 3 4 5 6 7 8 9 |
|
Android/Outlook.com for dark mode
1 2 3 4 5 6 7 8 |
|
More information about Dark Mode can be found here:
https:// www.litmus.com/blog/the-ultimate-guide-to-dark-mode-for-email-marketers/
You can use one of two methods to locate Windows Mail:
1 2 3 4 |
|
or
1 2 3 4 |
|
Both articles were submitted by Mark Robbins to https://howtotarget.email/.