Skip to content

Commit

Permalink
Merge pull request #54 from wildbit/bug/receipt-dark-mode
Browse files Browse the repository at this point in the history
Fix dark mode on receipt email
  • Loading branch information
derekrushforth authored Nov 23, 2020
2 parents de82433 + 478ca59 commit 58b18c8
Show file tree
Hide file tree
Showing 21 changed files with 60 additions and 22 deletions.
4 changes: 3 additions & 1 deletion dist/compiled/comment-notification/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
4 changes: 3 additions & 1 deletion dist/compiled/example/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
4 changes: 3 additions & 1 deletion dist/compiled/invoice/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
4 changes: 3 additions & 1 deletion dist/compiled/password-reset-help/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
4 changes: 3 additions & 1 deletion dist/compiled/password-reset/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
6 changes: 4 additions & 2 deletions dist/compiled/receipt/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down Expand Up @@ -553,7 +555,7 @@ <h3 class="align-right" style="margin-top: 0; color: #333333; font-size: 14px; f
<table class="body-sub" role="presentation" style="margin-top: 25px; padding-top: 25px; border-top-width: 1px; border-top-color: #EAEAEC; border-top-style: solid;">
<tr>
<td style="word-break: break-word; font-family: &quot;Nunito Sans&quot;, Helvetica, Arial, sans-serif; font-size: 16px;">
<p class="f-fallback sub" style="font-size: 13px; line-height: 1.625; color: #6B6E76; margin: .4em 0 1.1875em;">Need a printable copy for your records? You can <a href="{{action_url}}" style="color: #3869D4;">download a PDF version</a>.</p>
<p class="f-fallback sub" style="font-size: 13px; line-height: 1.625; color: #6B6E76; margin: .4em 0 1.1875em;"><strong>Need a printable copy for your records?</strong> You can <a href="{{action_url}}" style="color: #3869D4;">download a PDF version</a>.</p>
<p class="f-fallback sub" style="font-size: 13px; line-height: 1.625; color: #6B6E76; margin: .4em 0 1.1875em;">Moved recently? Have a new credit card? You can easily <a href="{{billing_url}}" style="color: #3869D4;">update your billing information</a>.</p>
</td>
</tr>
Expand Down
4 changes: 3 additions & 1 deletion dist/compiled/trial-expired/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
4 changes: 3 additions & 1 deletion dist/compiled/trial-expiring/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
4 changes: 3 additions & 1 deletion dist/compiled/user-invitation/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
4 changes: 3 additions & 1 deletion dist/compiled/welcome/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
4 changes: 3 additions & 1 deletion dist/postmark-layouts/basic-full/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
4 changes: 3 additions & 1 deletion dist/postmark-layouts/basic/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
4 changes: 3 additions & 1 deletion dist/postmark-layouts/plain/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,9 @@
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}
.attributes_content,
Expand Down
2 changes: 1 addition & 1 deletion dist/postmark-templates/receipt/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h1 class="f-fallback discount_heading">10% off your next purchase!</h1>
<table class="body-sub" role="presentation">
<tr>
<td>
<p class="f-fallback sub">Need a printable copy for your records?</strong> You can <a href="{{action_url}}">download a PDF version</a>.</p>
<p class="f-fallback sub"><strong>Need a printable copy for your records?</strong> You can <a href="{{action_url}}">download a PDF version</a>.</p>
<p class="f-fallback sub">Moved recently? Have a new credit card? You can easily <a href="{{billing_url}}">update your billing information</a>.</p>
</td>
</tr>
Expand Down
4 changes: 3 additions & 1 deletion dist/stylesheets/basic-full.css
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,9 @@ p.sub {
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important; }
.attributes_content,
.discount {
Expand Down
4 changes: 3 additions & 1 deletion dist/stylesheets/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ p {
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important; }
.attributes_content,
.discount {
Expand Down
4 changes: 3 additions & 1 deletion dist/stylesheets/plain.css
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ p {
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important; }
.attributes_content,
.discount {
Expand Down
4 changes: 3 additions & 1 deletion src/stylesheets/basic-full.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ p.sub {
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}

Expand Down
4 changes: 3 additions & 1 deletion src/stylesheets/basic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ p {
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}

Expand Down
4 changes: 3 additions & 1 deletion src/stylesheets/plain.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ p {
blockquote,
h1,
h2,
h3 {
h3,
span,
.purchase_item {
color: #FFF !important;
}

Expand Down
2 changes: 1 addition & 1 deletion src/templates/receipt/content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ preheader: "This is a receipt for your recent purchase on {{ purchase_date }}. N
<table class="body-sub" role="presentation">
<tr>
<td>
<p class="f-fallback sub">Need a printable copy for your records?</strong> You can <a href="\{{action_url}}">download a PDF version</a>.</p>
<p class="f-fallback sub"><strong>Need a printable copy for your records?</strong> You can <a href="\{{action_url}}">download a PDF version</a>.</p>
<p class="f-fallback sub">Moved recently? Have a new credit card? You can easily <a href="\{{billing_url}}">update your billing information</a>.</p>
</td>
</tr>
Expand Down

0 comments on commit 58b18c8

Please sign in to comment.