Learn how to style typography in your site using our predefined styles and Tailwind CSS utilities.
Headings
We provide consistent heading styles across the site. Here are the available heading styles:
Heading 1 (h1)
CSS Property
Value
Tailwind Class
font-family
"Cash Sans"
font-sans
font-size
3rem (48px)
text-5xl
font-style
normal
(default)
font-weight
900
font-black
line-height
1
leading-none
margin-top
2rem (32px)
mt-8
margin-bottom
1.5rem (24px)
mb-6
scroll-margin
5rem (80px)
scroll-m-20
letter-spacing
-0.025em
tracking-tight
Heading 2 (h2)
CSS Property
Value
Tailwind Class
font-family
"Cash Sans"
font-sans
font-size
1.875rem (30px)
text-3xl
font-style
normal
(default)
font-weight
600
font-semibold
line-height
1.625
leading-relaxed
padding-bottom
0.5rem (8px)
pb-2
margin-top
2rem (32px)
mt-8
margin-bottom
1.5rem (24px)
mb-6
scroll-margin
5rem (80px)
scroll-m-20
letter-spacing
-0.025em
tracking-tight
Heading 3 (h3)
CSS Property
Value
Tailwind Class
font-family
"Cash Sans"
font-sans
font-size
1.5rem (24px)
text-2xl
font-style
normal
(default)
font-weight
600
font-semibold
line-height
2rem (32px)
leading-8
margin-top
2rem (32px)
mt-8
margin-bottom
1rem (16px)
mb-4
scroll-margin
5rem (80px)
scroll-m-20
letter-spacing
-0.025em
tracking-tight
Heading 4 (h4)
CSS Property
Value
Tailwind Class
font-family
"Cash Sans"
font-sans
font-size
1.25rem (20px)
text-xl
font-style
normal
(default)
font-weight
600
font-semibold
line-height
1.75rem (28px)
leading-7
margin-top
1.5rem (24px)
mt-6
margin-bottom
1rem (16px)
mb-4
scroll-margin
5rem (80px)
scroll-m-20
letter-spacing
-0.025em
tracking-tight
Heading 5 (h5)
CSS Property
Value
Tailwind Class
font-family
"Cash Sans"
font-sans
font-size
1.125rem (18px)
text-lg
font-style
normal
(default)
font-weight
500
font-medium
line-height
1.75rem (28px)
leading-7
margin-top
1.5rem (24px)
mt-6
margin-bottom
1rem (16px)
mb-4
scroll-margin
5rem (80px)
scroll-m-20
letter-spacing
-0.025em
tracking-tight
Heading 6 (h6)
CSS Property
Value
Tailwind Class
font-family
"Cash Sans"
font-sans
font-size
1rem (16px)
text-base
font-style
normal
(default)
font-weight
600
font-semibold
line-height
1.5rem (24px)
leading-6
margin-top
1.5rem (24px)
mt-6
margin-bottom
1rem (16px)
mb-4
scroll-margin
5rem (80px)
scroll-m-20
letter-spacing
-0.025em
tracking-tight
Paragraphs and Text
Regular Paragraph
This is regular paragraph text, the standard type you’ll be reading throughout most of the Documentation
and Blog sections of the site. It’s represented by the <p> element. It’s a nice place to put
movie quotes, like, “I’m just one stomach flu away from my goal weight.”
CSS Property
Value
Tailwind Class
font-family
"Cash Sans"
font-sans
font-size
1rem (16px)
text-base
font-style
normal
(default)
font-weight
400
font-normal
line-height
1.5rem (24px)
leading-6
margin-top
1.5rem (24px)
[&:not(:first-child)]:mt-6
Tables
This is how a table will render:
Property
Description
propertyName1
This is my first property
propNameWithoutCodeTags
This one is another property
propertyName3
Yet a 3rd property for good measure
CSS and Tailwind Classes Applied to Table Elements