File tree Expand file tree Collapse file tree 5 files changed +59
-0
lines changed Expand file tree Collapse file tree 5 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1
1
@import "tailwindcss" ;
2
2
3
+ @font-face {
4
+ font-family : "Inter" ;
5
+ font-style : normal;
6
+ font-weight : 400 ;
7
+ font-display : swap;
8
+ src : url ("/fonts/Inter-Regular.woff2" ) format ("woff2" );
9
+ }
10
+
11
+ @font-face {
12
+ font-family : "Inter" ;
13
+ font-style : normal;
14
+ font-weight : 500 ;
15
+ font-display : swap;
16
+ src : url ("/fonts/Inter-Medium.woff2" ) format ("woff2" );
17
+ }
18
+
19
+ @font-face {
20
+ font-family : "Inter" ;
21
+ font-style : normal;
22
+ font-weight : 600 ;
23
+ font-display : swap;
24
+ src : url ("/fonts/Inter-SemiBold.woff2" ) format ("woff2" );
25
+ }
26
+
27
+ @font-face {
28
+ font-family : "Inter" ;
29
+ font-style : normal;
30
+ font-weight : 700 ;
31
+ font-display : swap;
32
+ src : url ("/fonts/Inter-Bold.woff2" ) format ("woff2" );
33
+ }
34
+
3
35
html {
4
36
height : 100% ;
5
37
}
@@ -10,6 +42,19 @@ body {
10
42
overflow : hidden;
11
43
background-color : hsl (var (--background ));
12
44
color : hsl (var (--foreground ));
45
+ font-family :
46
+ "Inter" ,
47
+ -apple-system,
48
+ BlinkMacSystemFont,
49
+ "Segoe UI" ,
50
+ "Roboto" ,
51
+ "Oxygen" ,
52
+ "Ubuntu" ,
53
+ "Cantarell" ,
54
+ "Fira Sans" ,
55
+ "Droid Sans" ,
56
+ "Helvetica Neue" ,
57
+ sans-serif;
13
58
}
14
59
15
60
# root {
@@ -138,6 +183,19 @@ body {
138
183
}
139
184
body {
140
185
@apply bg-background text-foreground;
186
+ font-family :
187
+ "Inter" ,
188
+ -apple-system,
189
+ BlinkMacSystemFont,
190
+ "Segoe UI" ,
191
+ "Roboto" ,
192
+ "Oxygen" ,
193
+ "Ubuntu" ,
194
+ "Cantarell" ,
195
+ "Fira Sans" ,
196
+ "Droid Sans" ,
197
+ "Helvetica Neue" ,
198
+ sans-serif;
141
199
}
142
200
143
201
/* Ensure all text inherits foreground color unless explicitly set */
@@ -152,5 +210,6 @@ body {
152
210
span ,
153
211
label {
154
212
@apply text-foreground;
213
+ font-family : inherit;
155
214
}
156
215
}
You can’t perform that action at this time.
0 commit comments