Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 892f74d

Browse files
committed
Add font size values to tailwind config
1 parent ce833eb commit 892f74d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tailwind.config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,22 @@ module.exports = {
1919
sans: ['Libre Franklin', 'sans-serif'],
2020
serif: ['Libre Baskerville', 'serif']
2121
},
22+
fontSize: {
23+
'root-em': '16px',
24+
uber: '7rem',
25+
hero: '5rem',
26+
body: '1.125rem',
27+
sm: '1rem',
28+
caption: '0.875rem',
29+
xs: '0.75rem',
30+
xxs: '0.625rem',
31+
h1: '3rem',
32+
h2: '2.25rem',
33+
h3: '1.875rem',
34+
h4: '1.625rem',
35+
h5: '1.25rem',
36+
lead: '1.5rem'
37+
},
2238
spacing: {
2339
// The px values for spacing are equivalent to their keys.
2440
px: '1px',

0 commit comments

Comments
 (0)