Skip to content

Commit e61a1a5

Browse files
committed
Add text global styles
1 parent 982a268 commit e61a1a5

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

src/styles/globals.css

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,29 @@
66
@font-face {
77
font-family: 'montserrat';
88
src: url("../assets/fonts/Montserrat.ttf") format('truetype')
9-
/* font-weight: 400;
10-
font-style: normal; */
119
}
1210

1311
@font-face {
1412
font-family: 'gabarito';
1513
src: url('../assets/fonts/Gabarito.ttf') format('truetype')
16-
/* font-weight: 400;
17-
font-style: normal; */
1814
}
1915

2016
@layer {
21-
h1{
22-
@apply font-montserrat
17+
/* Global text styles */
18+
h1, h2, h3{
19+
@apply font-montserrat text-slate-800
20+
}
21+
22+
h4, h5, a, p, span{
23+
@apply font-gabarito
24+
}
25+
26+
p{
27+
@apply text-lg
28+
}
29+
30+
span, svg{
31+
@apply text-sm
2332
}
2433

2534
}

0 commit comments

Comments
 (0)