How can I ensure that the HTML email maintains a normal white background even when mobile dark mode is turned on? I have included the following meta tag and media queries in my code:
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">
@media (prefers-color-scheme: light dark) {
body {
background: #ffffff !important;
color: #ffffff !important;
}
h1, h2, h3, h4, p {
color: #ffffff;
}
}
However, when I activate dark mode on my mobile device, the background switches to black and the font color changes to white. How can I prevent this from happening?