Skip to content

Commit

Permalink
HOTFIX!: safari 웹 폰트 적용이슈 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
KimKyuHoi committed Sep 21, 2024
1 parent 12087c6 commit 98a739b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Binary file added public/fonts/NotoSansKR-VariableFont_wght.woff2
Binary file not shown.
11 changes: 7 additions & 4 deletions src/styles/GlobalStyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,14 @@ const colorGradient = 'linear-gradient(to top, #1f1632 0%, #392f4f 100%)';

export const GlobalStyle = css`
@font-face {
font-family: 'Noto Sans KR';
font-family: 'Noto Sans KR-VariableFont_wght';
src:
url('https://gdsc-knu.com/fonts/NotoSansKR-VariableFont_wght.otf')
format('opentype-variations'),
url('https://gdsc-knu.com/fonts/NotoSansKR-VariableFont_wght.woff2')
format('woff2-variations'),
url('https://gdsc-knu.com/fonts/NotoSansKR-VariableFont_wght.woff')
format('woff-variations'),
url('https://gdsc-knu.com/fonts/NotoSansKR-VariableFont_wght.otf')
format('opentype-variations'),
url('https://gdsc-knu.com/fonts/NotoSansKR-VariableFont_wght.ttf')
format('truetype-variations');
font-weight: 100 900;
Expand Down Expand Up @@ -125,7 +127,8 @@ export const GlobalStyle = css`
-ms-overflow-style: none;
scrollbar-width: none;
flex-direction: column;
font-family: 'NotoSansKR-VariableFont_wght';
font-family: 'NotoSansKR-VariableFont_wght', 'Apple SD Gothic Neo',
Sans-serif;
font-optical-sizing: auto;
background-color: var(--color-revolver);
color: var(--color-white);
Expand Down

0 comments on commit 98a739b

Please sign in to comment.