Skip to content

Commit

Permalink
style: Pretendard font 전역 설정 수정 (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeseon-han authored Feb 18, 2024
1 parent 78ccf1a commit 10f9f48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Binary file removed public/fonts/Pretendard.ttf
Binary file not shown.
12 changes: 7 additions & 5 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@font-face {
font-family: 'Pretendard';
src: url('../../public/fonts/Pretendard.ttf');
}
@layer base {

@font-face {
font-family: 'Pretendard-Regular';
src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Regular.woff') format('woff');
}

html,
body {
padding: 0;
margin: 0;
font-family: Pretendard;
font-family: Pretendard-Regular;
color: #363a45;
}
}
Expand Down

0 comments on commit 10f9f48

Please sign in to comment.