Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fixed button color text in emails for providers such as gmail (#11690)

Damian Legawiec12b889930519
diff --git a/emails/app/views/spree/shared/_base_mailer_stylesheets.html.erb b/emails/app/views/spree/shared/_base_mailer_stylesheets.html.erb
index 00c0fefac6..6e4428ffdc 100644
--- a/emails/app/views/spree/shared/_base_mailer_stylesheets.html.erb
+++ b/emails/app/views/spree/shared/_base_mailer_stylesheets.html.erb
@@ -107,7 +107,7 @@
border-bottom: 10px solid #3869D4;
border-left: 18px solid #3869D4;
display: inline-block;
- color: #FFF;
+ color: #FFF !important;
text-decoration: none;
border-radius: 3px;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16);