Skip to content

Commit ae3397e

Browse files
committed
Add typography-h4
1 parent f811d67 commit ae3397e

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

tailwind.config.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,10 @@ const config: Config = {
128128
plugin(({ addBase }) => {
129129
// heading styles
130130
addBase({
131-
".typography-d1, .typography-h1, .typography-h2, .typography-h3": {
132-
lineHeight: "1.2",
133-
},
131+
".typography-d1, .typography-h1, .typography-h2, .typography-h3, .typography-h4":
132+
{
133+
lineHeight: "1.2",
134+
},
134135
".typography-d1": {
135136
fontSize: "48px",
136137
"@screen lg": {
@@ -155,6 +156,12 @@ const config: Config = {
155156
fontSize: "32px",
156157
},
157158
},
159+
".typography-h4": {
160+
fontSize: "20px",
161+
"@screen md": {
162+
fontSize: "28px",
163+
},
164+
},
158165
})
159166

160167
// paragraph styles

0 commit comments

Comments
 (0)