@planetaexo/design-system 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +10 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2914,13 +2914,22 @@ function wrapEmailHtml(content) {
|
|
|
2914
2914
|
<head>
|
|
2915
2915
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
2916
2916
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
2917
|
+
<meta name="color-scheme" content="light dark" />
|
|
2918
|
+
<meta name="supported-color-schemes" content="light dark" />
|
|
2917
2919
|
<!--[if !mso]><!-->
|
|
2918
2920
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
2919
2921
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="" />
|
|
2920
2922
|
<link href="${DM_SANS_URL}" rel="stylesheet" type="text/css" />
|
|
2921
2923
|
<!--<![endif]-->
|
|
2922
2924
|
</head>
|
|
2923
|
-
<body style="margin:0;padding:
|
|
2925
|
+
<body style="margin:0;padding:16px;background-color:#ffffff;">
|
|
2926
|
+
<!--[if !mso]><!-->
|
|
2927
|
+
<style type="text/css">
|
|
2928
|
+
@media (prefers-color-scheme: dark) {
|
|
2929
|
+
body { background-color: #111827 !important; }
|
|
2930
|
+
}
|
|
2931
|
+
</style>
|
|
2932
|
+
<!--<![endif]-->
|
|
2924
2933
|
${content}
|
|
2925
2934
|
</body>
|
|
2926
2935
|
</html>`;
|