Skip to content

Commit 22517d0

Browse files
committed
Add fonts
1 parent b39902f commit 22517d0

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
exclude: |
2323
(?x)^(
2424
.*example-layer.tar.gz|
25-
.*\.(png|svg|ico|gpg)|
25+
.*\.(png|svg|ico|gpg|woff2)|
2626
dev/version-manifest/version-manifest|
2727
.*gradle-wrapper\.jar
2828
)$
Binary file not shown.
Binary file not shown.

components/dashboard/src/index.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@
88
@tailwind components;
99
@tailwind utilities;
1010

11+
@font-face {
12+
font-family: Inter;
13+
font-weight: 400;
14+
src: url(./fonts/inter/Inter-Regular.woff2) format("woff2");
15+
}
16+
@font-face {
17+
font-family: Inter;
18+
font-weight: 600;
19+
src: url(./fonts/inter/Inter-SemiBold.woff2) format("woff2");
20+
}
21+
1122
@layer base {
1223
html,
1324
body {

0 commit comments

Comments
 (0)