Post

๐ŸŽ‰ Great news folks, the good people at Gmail have finally fixed the forced dark mode issue. In both the iOS and Android apps ๐ŸŽ‰ They now support setting the color-scheme meta tag prevent the forced dark colors being used <โ€‹meta name="color-scheme" content="light only" /> #EmailGeeks

2 reposts2 likes

That's great, however it does mean that your prefers-color-scheme: dark media queries will no longer render in some clients that normally support them such as AppleMail. To get those working again you need to reset the color-scheme with CSS :root{ color-scheme:light dark; }

A little extra test and I can see this fix only works for Google emails. If you are using Gmail for a non google account (sometimes referred to as GANGA) then the meta tag gets removed and the work around doesn't apply.