Darkmode doesn't work without meta tags
alyalin opened this issue · comments
Alex Lyalin commented
Hi, thanks for awesome templates! But, I test on iOS and Mac OS default mail apps and dark mode doesn't work.
I added this to the template
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">
And this to style and this works as planned.
:root {
color-scheme: light dark;
supported-color-schemes: light dark;
}
What do you think?
James Potter commented
Thanks for this. It also fixes dark mode in Superhuman.
Derek Rushforth commented
I confirmed that this fixed dark mode on both iOS and Mac OS mail apps using Litmus. The fix has been merged. Thanks for reporting this!