Skip to content

Commit

Permalink
Merge pull request Yanabada#250 from Yanabada/feature/Yanabada#247
Browse files Browse the repository at this point in the history
Fix: Pretendard 폰트 추가
  • Loading branch information
Gaoridang authored Jan 30, 2024
2 parents dce165c + 99e2be8 commit 5340594
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 5340594

Please sign in to comment.