design: web font 추가

This commit is contained in:
jhynsoo 2024-07-18 10:43:38 +09:00
parent 1137a36f5e
commit e8de94045a
2 changed files with 20 additions and 7 deletions

Binary file not shown.

View File

@ -1,3 +1,11 @@
@font-face {
font-family: 'Pretendard Variable';
font-weight: 45 920;
font-style: normal;
font-display: fallback;
src: url('./assets/fonts/PretendardVariable.woff2') format('woff2-variations');
}
:root { :root {
/* primitive colors */ /* primitive colors */
--black: #000; --black: #000;
@ -142,16 +150,21 @@
body { body {
font-family: font-family:
'Pretendard Variable',
Pretendard, Pretendard,
Pretendard Variable,
-apple-system, -apple-system,
BlinkMacSystemFont, BlinkMacSystemFont,
Apple SD Gothic Neo, system-ui,
sans-serif, Roboto,
Apple Color Emoji, 'Helvetica Neue',
Segoe UI Emoji, 'Segoe UI',
Segoe UI Symbol, 'Apple SD Gothic Neo',
Noto Color Emoji; 'Noto Sans KR',
'Malgun Gothic',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
sans-serif;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }