minor change

This commit is contained in:
daniel31x13 2023-12-27 15:52:06 -05:00
parent 7cf59bd430
commit 31c56b5009

View File

@ -26,7 +26,7 @@ function html(params: { url: string; host: string; theme: Theme }) {
const escapedHost = host.replace(/\./g, "​."); const escapedHost = host.replace(/\./g, "​.");
const brandColor = theme.brandColor || "#346df1"; const brandColor = theme.brandColor || "#0029cf";
const color = { const color = {
background: "#f9f9f9", background: "#f9f9f9",
text: "#444", text: "#444",
@ -50,10 +50,11 @@ function html(params: { url: string; host: string; theme: Theme }) {
<td align="center" style="padding: 20px 0;"> <td align="center" style="padding: 20px 0;">
<table border="0" cellspacing="0" cellpadding="0"> <table border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td align="center" style="border-radius: 5px;" bgcolor="${color.buttonBackground}"><a href="${url}" <td align="center" style="border-radius: 5px;" bgcolor="${color.buttonBackground}">
target="_blank" <a href="${url}" target="_blank" style="font-size: 18px; font-family: Helvetica, Arial, sans-serif; color: ${color.buttonText}; text-decoration: none; border-radius: 5px; padding: 10px 20px; border: 1px solid ${color.buttonBorder}; display: inline-block; font-weight: bold;">
style="font-size: 18px; font-family: Helvetica, Arial, sans-serif; color: ${color.buttonText}; text-decoration: none; border-radius: 5px; padding: 10px 20px; border: 1px solid ${color.buttonBorder}; display: inline-block; font-weight: bold;">Sign Sign in
in</a></td> </a>
</td>
</tr> </tr>
</table> </table>
</td> </td>