Skip to content

Commit ffdee97

Browse files
committed
fix: base styles for headings
1 parent 1a0f9b1 commit ffdee97

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/utils/email/templates/EmailLayout.tsx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,23 @@ export const EmailLayout = ({
3232

3333
return (
3434
<Html>
35-
<Head />
35+
<Head>
36+
<style>{`
37+
h1, h2, h3, h4, h5, h6 {
38+
font-weight: 700;
39+
color: #D83D84;
40+
margin-top: 24px;
41+
margin-bottom: 16px;
42+
line-height: 1.3;
43+
}
44+
h1 { font-size: 32px; }
45+
h2 { font-size: 28px; }
46+
h3 { font-size: 24px; }
47+
h4 { font-size: 20px; }
48+
h5 { font-size: 18px; }
49+
h6 { font-size: 16px; }
50+
`}</style>
51+
</Head>
3652
<Preview>{preview}</Preview>
3753

3854
<Tailwind>

0 commit comments

Comments
 (0)