Skip to content

Commit bac8dd8

Browse files
committed
Add typography styles
1 parent a08e3f6 commit bac8dd8

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

resources/css/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@import "tailwindcss/components";
33
@import "tailwindcss/utilities";
44

5+
@import "@css/typography.css";
56
@import "@css/forms.css";
67
@import "@css/buttons.css";
78
@import "@css/content.css";

resources/css/typography.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.heading {
2+
@apply text-neutral-900 font-semibold leading-none;
3+
}
4+
5+
.h1 {
6+
@apply text-4xl sm:text-5xl xl:text-6xl;
7+
}
8+
9+
.h2 {
10+
@apply text-3xl sm:text-4xl xl:text-5xl;
11+
}
12+
13+
.h3 {
14+
@apply text-xl sm:text-2xl xl:text-3xl;
15+
}
16+
17+
.h4 {
18+
@apply text-lg sm:text-xl xl:text-2xl;
19+
}
20+
21+
.h5 {
22+
@apply text-base sm:text-lg xl:text-xl;
23+
}
24+
25+
.h6 {
26+
@apply text-sm sm:text-base xl:text-lg;
27+
}

0 commit comments

Comments
 (0)