Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: adjust email template font-family (#4015)

Peng Xiao4abb407b5c09
diff --git a/apps/server/src/modules/auth/mailer/template.ts b/apps/server/src/modules/auth/mailer/template.ts
index 115ac2ff70..3d79c96ade 100644
--- a/apps/server/src/modules/auth/mailer/template.ts
+++ b/apps/server/src/modules/auth/mailer/template.ts
@@ -39,7 +39,7 @@ export const emailTemplate = ({
font-size: 20px;
font-weight: 600;
line-height: 28px;
- font-family: Inter;
+ font-family: inter, Arial, Helvetica, sans-serif;
color: #444;
padding-top: 0;
"
@@ -51,7 +51,7 @@ export const emailTemplate = ({
font-size: 15px;
font-weight: 400;
line-height: 24px;
- font-family: Inter;
+ font-family: inter, Arial, Helvetica, sans-serif;
color: #444;
padding-top: 0;
"
@@ -67,7 +67,7 @@ export const emailTemplate = ({
target="_blank"
style="
font-size: 15px;
- font-family: Inter;
+ font-family: inter, Arial, Helvetica, sans-serif;
font-weight: 600;
line-height: 24px;
color: #fff;
@@ -163,7 +163,7 @@ export const emailTemplate = ({
font-size: 12px;
font-weight: 400;
line-height: 20px;
- font-family: Inter;
+ font-family: inter, Arial, Helvetica, sans-serif;
color: #8e8d91;
padding-top: 8px;
"
@@ -177,7 +177,7 @@ export const emailTemplate = ({
font-size: 12px;
font-weight: 400;
line-height: 20px;
- font-family: Inter;
+ font-family: inter, Arial, Helvetica, sans-serif;
color: #8e8d91;
padding-top: 8px;
"
diff --git a/apps/server/src/modules/auth/next-auth-options.ts b/apps/server/src/modules/auth/next-auth-options.ts
index 2729aa2cff..07c03d3d47 100644
--- a/apps/server/src/modules/auth/next-auth-options.ts
+++ b/apps/server/src/modules/auth/next-auth-options.ts
@@ -335,7 +335,7 @@ function html(params: { url: string; host: string }) {
font-size: 20px;
font-weight: 600;
line-height: 28px;
- font-family: Inter;
+ font-family: inter, Arial, Helvetica, sans-serif;
color: #444;
padding-top: 0;
"
@@ -349,7 +349,7 @@ function html(params: { url: string; host: string }) {
font-size: 15px;
font-weight: 400;
line-height: 24px;
- font-family: Inter;
+ font-family: inter, Arial, Helvetica, sans-serif;
color: #444;
padding-top: 0;
"
@@ -369,7 +369,7 @@ function html(params: { url: string; host: string }) {
target="_blank"
style="
font-size: 15px;
- font-family: Inter;
+ font-family: inter, Arial, Helvetica, sans-serif;
font-weight: 600;
line-height: 24px;
color: #fff;
@@ -463,7 +463,7 @@ function html(params: { url: string; host: string }) {
font-size: 12px;
font-weight: 400;
line-height: 20px;
- font-family: Inter;
+ font-family: inter, Arial, Helvetica, sans-serif;
color: #8e8d91;
padding-top: 8px;
"
@@ -477,7 +477,7 @@ function html(params: { url: string; host: string }) {
font-size: 12px;
font-weight: 400;
line-height: 20px;
- font-family: Inter;
+ font-family: inter, Arial, Helvetica, sans-serif;
color: #8e8d91;
padding-top: 8px;
"