Skip to content

Commit eb51bd3

Browse files
committed
chore: Pretendard 폰트 추가
1 parent 7784c51 commit eb51bd3

File tree

5 files changed

+30
-1
lines changed

5 files changed

+30
-1
lines changed
264 KB
Binary file not shown.
262 KB
Binary file not shown.
262 KB
Binary file not shown.

frontend/src/index.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
11
@tailwind base;
22
@tailwind components;
33
@tailwind utilities;
4+
5+
@font-face {
6+
font-family: "Pretendard";
7+
font-style: normal;
8+
font-weight: 600;
9+
src:
10+
local("Pretendard Bold"),
11+
url("./assets/fonts/Pretendard-Bold.subset.woff2") format("woff2");
12+
}
13+
14+
@font-face {
15+
font-family: "Pretendard";
16+
font-style: normal;
17+
font-weight: 500;
18+
src:
19+
local("Pretendard SemiBold"),
20+
url("./assets/fonts/Pretendard-SemiBold.subset.woff2") format("woff2");
21+
}
22+
23+
@font-face {
24+
font-family: "Pretendard";
25+
font-style: normal;
26+
font-weight: 400;
27+
src:
28+
local("Pretendard Medium"),
29+
url("./assets/fonts/Pretendard-Medium.subset.woff2") format("woff2");
30+
}

frontend/tailwind.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
export default {
33
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
44
theme: {
5+
fontFamily: {
6+
pretendard: ["Pretendard"],
7+
},
58
extend: {},
69
},
7-
plugins: [],
810
};

0 commit comments

Comments
 (0)