Skip to content

Commit

Permalink
Merge pull request #250 from Yanabada/feature/#247
Browse files Browse the repository at this point in the history
Fix: Pretendard 폰트 추가
  • Loading branch information
Lee JaeJun authored Jan 30, 2024
2 parents 316afa2 + a9c4884 commit 8d0fb1c
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/styles/fonts.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { css } from "@emotion/react";

import PretendardRegular from "../fonts/Pretendard-Regular.woff";
import PretendardBold from "../fonts/Pretendard-Bold.woff";
import PretendardMedium from "../fonts/Pretendard-Medium.woff";
import PretendardSemiBold from "../fonts/Pretendard-SemiBold.woff";

export const fonts = css`
@font-face {
font-family: Pretendard;
font-style: normal;
font-weight: normal;
font-weight: 400;
src:
local("Pretendard"),
url(${PretendardRegular}) format("woff");
Expand All @@ -19,6 +20,15 @@ export const fonts = css`
font-weight: 500;
src:
local("Pretendard"),
url(${PretendardBold}) format("woff");
url(${PretendardMedium}) format("woff");
}
@font-face {
font-family: Pretendard;
font-style: normal;
font-weight: 600;
src:
local("Pretendard"),
url(${PretendardSemiBold}) format("woff");
}
`;

0 comments on commit 8d0fb1c

Please sign in to comment.