Skip to content

Commit baab7e7

Browse files
committed
style(): fonts
1 parent 426cdf3 commit baab7e7

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

public/fonts/Inter_18pt-Bold.ttf

336 KB
Binary file not shown.

public/fonts/Inter_18pt-Medium.ttf

335 KB
Binary file not shown.
335 KB
Binary file not shown.

src/styles/globals.css

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');
21
@import "tailwindcss";
32

43
:root {
@@ -10,7 +9,29 @@
109
body {
1110
background: var(--background);
1211
color: var(--foreground);
13-
font-family: 'Inter', Arial, Helvetica;
12+
font-family: 'InterLocal', Inter, Arial, Helvetica, sans-serif;
13+
}
14+
15+
@font-face {
16+
font-family: 'InterLocal';
17+
src: url('/fonts/Inter_18pt-Regular.ttf') format('truetype');
18+
font-weight: 400;
19+
font-style: normal;
20+
font-display: swap;
21+
}
22+
@font-face {
23+
font-family: 'InterLocal';
24+
src: url('/fonts/Inter_18pt-Medium.ttf') format('truetype');
25+
font-weight: 500;
26+
font-style: normal;
27+
font-display: swap;
28+
}
29+
@font-face {
30+
font-family: 'InterLocal';
31+
src: url('/fonts/Inter_18pt-Bold.ttf') format('truetype');
32+
font-weight: 700;
33+
font-style: normal;
34+
font-display: swap;
1435
}
1536

1637
/* Dark-mode fallbacks for elements that don't use Tailwind 'dark:' utilities */

0 commit comments

Comments
 (0)