Skip to content

Commit b9c052f

Browse files
Use Inter
1 parent 7f1bc0e commit b9c052f

File tree

5 files changed

+59
-0
lines changed

5 files changed

+59
-0
lines changed

app/renderer/index.css

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
@import "tailwindcss";
22

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+
335
html {
436
height: 100%;
537
}
@@ -10,6 +42,19 @@ body {
1042
overflow: hidden;
1143
background-color: hsl(var(--background));
1244
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;
1358
}
1459

1560
#root {
@@ -138,6 +183,19 @@ body {
138183
}
139184
body {
140185
@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;
141199
}
142200

143201
/* Ensure all text inherits foreground color unless explicitly set */
@@ -152,5 +210,6 @@ body {
152210
span,
153211
label {
154212
@apply text-foreground;
213+
font-family: inherit;
155214
}
156215
}
108 KB
Binary file not shown.
109 KB
Binary file not shown.
106 KB
Binary file not shown.
109 KB
Binary file not shown.

0 commit comments

Comments
 (0)