Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Remove green color from e-mails' header

Anna Siwika252ee9f9b18
diff --git a/templates/templated_email/html/compiled/order/confirm_order.html b/templates/templated_email/html/compiled/order/confirm_order.html
index 9f2c48891e..c3495549f3 100644
--- a/templates/templated_email/html/compiled/order/confirm_order.html
+++ b/templates/templated_email/html/compiled/order/confirm_order.html
@@ -93,11 +93,11 @@
<table role="presentation" border="0" cellpadding="0" cellspacing="0" width="600" align="center" style="width:600px;">
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]--><div style="margin:0px auto;max-width:600px;background:#2BB673;"><table role="presentation" cellpadding="0" cellspacing="0" style="font-size:0px;width:100%;background:#2BB673;" align="center" border="0"><tbody><tr><td style="text-align: center; vertical-align: top; direction: ltr; font-size: 0px; padding: 20px 0px;" align="center" valign="top"><!--[if mso | IE]>
+ <![endif]--><div style="margin:0px auto;max-width:600px;"><table role="presentation" cellpadding="0" cellspacing="0" style="font-size:0px;width:100%;" align="center" border="0"><tbody><tr><td style="text-align: center; vertical-align: top; direction: ltr; font-size: 0px; padding: 20px 0px;" align="center" valign="top"><!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="vertical-align:top;width:600px;">
- <![endif]--><div class="mj-column-per-100 outlook-group-fix" style="vertical-align:top;display:inline-block;direction:ltr;font-size:13px;text-align:left;width:100%;"><table role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"><tbody><tr><td style="word-wrap: break-word; font-size: 0px; padding: 10px 25px;" align="center"><table role="presentation" cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-spacing:0px;" align="center" border="0"><tbody><tr><td style="padding: 5px; width: 176px;" width="176"><img alt="" height="38px" src="{{ protocol}}://{{ domain }}{% static 'images/logo.svg' %}" style="border:none;border-radius:0px;display:block;font-size:13px;outline:none;text-decoration:none;width:100%;height:38px;" width="176"></td></tr></tbody></table></td></tr></tbody></table></div><!--[if mso | IE]>
+ <![endif]--><div class="mj-column-per-100 outlook-group-fix" style="vertical-align:top;display:inline-block;direction:ltr;font-size:13px;text-align:left;width:100%;"><table role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"><tbody><tr><td style="word-wrap: break-word; font-size: 0px; padding: 10px 25px;" align="center"><table role="presentation" cellpadding="0" cellspacing="0" style="border-collapse:collapse;border-spacing:0px;" align="center" border="0"><tbody><tr><td style="padding: 5px; width: 176px;" width="176"><img alt="" height="38px" src="{{ protocol}}://{{ domain }}{% static 'images/logo-document.svg' %}" style="border:none;border-radius:0px;display:block;font-size:13px;outline:none;text-decoration:none;width:100%;height:38px;" width="176"></td></tr></tbody></table></td></tr></tbody></table></div><!--[if mso | IE]>
</td></tr></table>
<![endif]--></td></tr></tbody></table></div><!--[if mso | IE]>
</td></tr></table>
@@ -110,7 +110,7 @@
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="vertical-align:top;width:600px;">
- <![endif]--><div class="mj-column-per-100 outlook-group-fix" style="vertical-align:top;display:inline-block;direction:ltr;font-size:13px;text-align:left;width:100%;"><table role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"><tbody><tr><td style="word-wrap: break-word; font-size: 0px; padding: 10px 25px;" align="left"><div style="cursor:auto;color:#2BB673;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:22px;text-align:left;">{% trans "Hi!" context "Order confirmation e-mail text" %}</div></td></tr><tr><td style="word-wrap: break-word; font-size: 0px; padding: 10px 25px;" align="left"><div style="cursor:auto;color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:22px;text-align:left;">{% blocktrans context "Order confirmation e-mail text" %}
+ <![endif]--><div class="mj-column-per-100 outlook-group-fix" style="vertical-align:top;display:inline-block;direction:ltr;font-size:13px;text-align:left;width:100%;"><table role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"><tbody><tr><td style="word-wrap: break-word; font-size: 0px; padding: 10px 25px;" align="left"><div style="cursor:auto;color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:16px;line-height:22px;text-align:left;">{% trans "Hi!" context "Order confirmation e-mail text" %}</div></td></tr><tr><td style="word-wrap: break-word; font-size: 0px; padding: 10px 25px;" align="left"><div style="cursor:auto;color:#000000;font-family:Ubuntu, Helvetica, Arial, sans-serif;font-size:13px;line-height:22px;text-align:left;">{% blocktrans context "Order confirmation e-mail text" %}
Thank you for your order. Below is the list of ordered products. To see your payment details please visit: <a href="{{ url }}">{{ url }}</a>
{% endblocktrans %}</div></td></tr></tbody></table></div><!--[if mso | IE]>
</td></tr></table>
@@ -241,7 +241,7 @@
<table role="presentation" border="0" cellpadding="0" cellspacing="0" width="600" align="center" style="width:600px;">
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
- <![endif]--><div style="margin:0px auto;max-width:600px;background:#D3D1D0;"><table role="presentation" cellpadding="0" cellspacing="0" style="font-size:0px;width:100%;background:#D3D1D0;" align="center" border="0"><tbody><tr><td style="text-align: center; vertical-align: top; direction: ltr; font-size: 0px; padding: 20px 0px;" align="center" valign="top"><!--[if mso | IE]>
+ <![endif]--><div style="margin:0px auto;max-width:600px;background:#F2F2F2;"><table role="presentation" cellpadding="0" cellspacing="0" style="font-size:0px;width:100%;background:#F2F2F2;" align="center" border="0"><tbody><tr><td style="text-align: center; vertical-align: top; direction: ltr; font-size: 0px; padding: 20px 0px;" align="center" valign="top"><!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="vertical-align:top;width:600px;">
diff --git a/templates/templated_email/html/source/order/confirm_order.mjml b/templates/templated_email/html/source/order/confirm_order.mjml
index 835e8bcd6c..fd1a6caf77 100644
--- a/templates/templated_email/html/source/order/confirm_order.mjml
+++ b/templates/templated_email/html/source/order/confirm_order.mjml
@@ -15,7 +15,7 @@
<mj-include path="../shared/header" />
<mj-section>
<mj-column>
- <mj-text font-size="16px" color="#2BB673">
+ <mj-text font-size="16px">
{% trans "Hi!" context "Order confirmation e-mail text" %}
</mj-text>
<mj-text>
diff --git a/templates/templated_email/html/source/shared/footer.mjml b/templates/templated_email/html/source/shared/footer.mjml
index c11201c32a..1f8801e5de 100644
--- a/templates/templated_email/html/source/shared/footer.mjml
+++ b/templates/templated_email/html/source/shared/footer.mjml
@@ -7,7 +7,7 @@
</mj-text>
</mj-column>
</mj-section>
-<mj-section background-color="#D3D1D0">
+<mj-section background-color="#F2F2F2">
<mj-column>
<mj-text align="center">
{% blocktrans trimmed context "Base e-mail footer" %}
diff --git a/templates/templated_email/html/source/shared/header.mjml b/templates/templated_email/html/source/shared/header.mjml
index 14dcd70ab5..e4f0392a17 100644
--- a/templates/templated_email/html/source/shared/header.mjml
+++ b/templates/templated_email/html/source/shared/header.mjml
@@ -3,8 +3,8 @@
<mj-text>{% load staticfiles %}</mj-text>
</mj-column>
</mj-section>
-<mj-section background-color="#2BB673">
+<mj-section>
<mj-column>
- <mj-image src="{{ protocol}}://{{ domain }}{% static 'images/logo.svg' %}" height="38px" width="176px"></mj-image>
+ <mj-image src="{{ protocol}}://{{ domain }}{% static 'images/logo-document.svg' %}" height="38px" width="176px"/>
</mj-column>
</mj-section>