Skip to content

Commit

Permalink
style: Pretendard font 파일 추가, 설정 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeseon-han committed Feb 18, 2024
1 parent 5b68ff8 commit 24b4e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Binary file added public/fonts/Pretendard.ttf
Binary file not shown.
7 changes: 3 additions & 4 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
@tailwind components;
@tailwind utilities;
@font-face {
font-family: 'Pretendard-Regular';
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Regular.woff')
format('woff');
font-family: 'Pretendard';
src: url('../../public/fonts/Pretendard.ttf');
}
@layer base {
html,
body {
padding: 0;
margin: 0;
font-family: Pretendard-Regular;
font-family: Pretendard;
color: #363a45;
}
}
Expand Down

0 comments on commit 24b4e82

Please sign in to comment.