FEATURE: Add email dark mode (#16104)

implement dark mode emails when `SiteSetting.dark_mode_emails_active` is active.
This commit is contained in:
Isaac Janzen
2022-04-11 12:27:50 -05:00
committed by GitHub
parent a0ef25f4f0
commit 6c0abe15e0
9 changed files with 104 additions and 8 deletions

View File

@@ -10,6 +10,7 @@
name="viewport"
content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width"
/>
%{dark_mode_meta_tags}
<!-- prevent ios zooming + autoscaling -->
<meta name="x-apple-disable-message-reformatting" />
<title></title>
@@ -45,5 +46,6 @@
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</div>
%{dark_mode_styles}
</body>
</html>