diff --git a/app/Utils/TemplateEngine.php b/app/Utils/TemplateEngine.php index 858d22046df6..a48ce7afd666 100644 --- a/app/Utils/TemplateEngine.php +++ b/app/Utils/TemplateEngine.php @@ -277,7 +277,7 @@ class TemplateEngine -
+
diff --git a/resources/views/email/template/master.blade.php b/resources/views/email/template/master.blade.php index 3bd5032170e3..93b15102580c 100644 --- a/resources/views/email/template/master.blade.php +++ b/resources/views/email/template/master.blade.php @@ -115,19 +115,41 @@ } .button { - padding: 12px; box-sizing: border-box;display: inline-block;font-family:arial,helvetica,sans-serif;text-decoration: none;-webkit-text-size-adjust: none;text-align: center;color: #FFFFFF; background-color: #142cb5; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; width:auto; max-width:100%; overflow-wrap: break-word; word-break: break-word; word-wrap:break-word; mso-border-alt: none; + padding: 12px; + box-sizing: border-box; + display: inline-block; + font-family: arial, helvetica, sans-serif; + text-decoration: none; + -webkit-text-size-adjust: none; + text-align: center; + color: #FFFFFF; + background-color: {{ $primary_color }} !important; + border-radius: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + width: auto; + max-width: 100%; + overflow-wrap: break-word; + word-break: break-word; + word-wrap: break-word; + mso-border-alt: none; } .center { text-align: center; } + + .content-contrast-color { + color: {{ $design == 'dark' ? '#ffffff' : '#000000' }} !important; + opacity: {{ $design == 'dark' ? '87%': '100%' }} !important; + } - + - +
@@ -149,7 +171,7 @@
- +
@@ -220,7 +242,7 @@
- +