Skip to content

Commit 8a1aaab

Browse files
committed
restyle
1 parent 2c3f622 commit 8a1aaab

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

lib/MailTemplateGenerator.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ private static function mailTemplateCallToActionButton($mailTokens) {
110110
$color = MAILSTYLES['call-to-action']['color'] ?? "#181818";
111111
$colorMuted = MAILSTYLES['call-to-action']['colorMuted'] ?? "#333333";
112112
$fontFamily = MAILSTYLES['call-to-action']['fontFamily'] ?? "Arial, Helvetica, sans-serif";
113-
$buttonTextColor = MAILSTYLES['call-to-action']['buttonTextColor'] ?? "#ffffff";
114-
$buttonBackgroundColor = MAILSTYLES['call-to-action']['buttonBackgroundColor'] ?? "#3c6a87";
113+
$buttonTextColor = MAILSTYLES['call-to-action']['buttonTextColor'] ?? "##eeeeee";
114+
$buttonBackgroundColor = MAILSTYLES['call-to-action']['buttonBackgroundColor'] ?? "#262c2f";
115115
?>
116116
<table width="100%" border="0" cellpadding="0" cellspacing="0">
117117
<tr>
118118
<th valign="top" align="center" style="padding: 0px 0px 30px 0px; text-align: center; font-weight: normal;">
119-
<a href="{buttonLink}" style="display: inline-block; box-sizing: border-box; border-radius: 8px; background-color: <?php echo $buttonBackgroundColor; ?>; padding: 14px 18px 14px 18px; vertical-align: top; text-align: center; text-decoration: none;" target="_blank"><span style="font-size: 20px;line-height: 30px;color:<?php echo $buttonTextColor; ?>;font-weight:500;font-style:normal;display:inline-block;vertical-align: top;"><span style="display:inline-block;"><span style="font-family: <?php echo $fontFamily; ?>;line-height: 150%;">{buttonText}</span></span></span></a>
119+
<a href="{buttonLink}" style="display: inline-block; box-sizing: border-box; background-color: <?php echo $buttonBackgroundColor; ?>; padding: 14px 18px 14px 18px; vertical-align: top; text-align: center; text-decoration: none;" target="_blank"><span style="font-size: 20px;line-height: 30px;color:<?php echo $buttonTextColor; ?>;font-weight:500;font-style:normal;display:inline-block;vertical-align: top;"><span style="display:inline-block;"><span style="font-family: <?php echo $fontFamily; ?>;line-height: 150%;">{buttonText}</span></span></span></a>
120120
</th>
121121
</tr>
122122
</table>
@@ -128,13 +128,13 @@ private static function mailTemplateCallToActionButtonNoLink($mailTokens) {
128128
$color = MAILSTYLES['call-to-action']['color'] ?? "#181818";
129129
$colorMuted = MAILSTYLES['call-to-action']['colorMuted'] ?? "#333333";
130130
$fontFamily = MAILSTYLES['call-to-action']['fontFamily'] ?? "Arial, Helvetica, sans-serif";
131-
$buttonTextColor = MAILSTYLES['call-to-action']['buttonTextColor'] ?? "#ffffff";
132-
$buttonBackgroundColor = MAILSTYLES['call-to-action']['buttonBackgroundColor'] ?? "#3c6a87";
131+
$buttonTextColor = MAILSTYLES['call-to-action']['buttonTextColor'] ?? "##eeeeee";
132+
$buttonBackgroundColor = MAILSTYLES['call-to-action']['buttonBackgroundColor'] ?? "#262c2f";
133133
?>
134134
<table width="100%" border="0" cellpadding="0" cellspacing="0">
135135
<tr>
136136
<th valign="top" align="center" style="padding: 0px 0px 30px 0px; text-align: center; font-weight: normal;">
137-
<span style="display: inline-block; box-sizing: border-box; border-radius: 8px; background-color: <?php echo $buttonBackgroundColor; ?>; padding: 14px 18px 14px 18px; vertical-align: top; text-align: center; text-decoration: none;" target="_blank"><span style="font-size: 20px;line-height: 30px;color:<?php echo $buttonTextColor; ?>;font-weight:500;font-style:normal;display:inline-block;vertical-align: top;"><span style="display:inline-block;"><span style="font-family: <?php echo $fontFamily; ?>;line-height: 150%;">{buttonText}</span></span></span></span>
137+
<span style="display: inline-block; box-sizing: border-box; background-color: <?php echo $buttonBackgroundColor; ?>; padding: 14px 18px 14px 18px; vertical-align: top; text-align: center; text-decoration: none;" target="_blank"><span style="font-size: 20px;line-height: 30px;color:<?php echo $buttonTextColor; ?>;font-weight:500;font-style:normal;display:inline-block;vertical-align: top;"><span style="display:inline-block;"><span style="font-family: <?php echo $fontFamily; ?>;line-height: 150%;">{buttonText}</span></span></span></span>
138138
</th>
139139
</tr>
140140
</table>

0 commit comments

Comments
 (0)