Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added src/assets/fonts/Paperlogy-1Thin.ttf
Binary file not shown.
Binary file added src/assets/fonts/Paperlogy-2ExtraLight.ttf
Binary file not shown.
Binary file added src/assets/fonts/Paperlogy-3Light.ttf
Binary file not shown.
Binary file added src/assets/fonts/Paperlogy-4Regular.ttf
Binary file not shown.
Binary file added src/assets/fonts/Paperlogy-5Medium.ttf
Binary file not shown.
Binary file added src/assets/fonts/Paperlogy-6SemiBold.ttf
Binary file not shown.
Binary file added src/assets/fonts/Paperlogy-7Bold.ttf
Binary file not shown.
Binary file added src/assets/fonts/Paperlogy-8ExtraBold.ttf
Binary file not shown.
Binary file added src/assets/fonts/Paperlogy-9Black.ttf
Binary file not shown.
Binary file added src/assets/fonts/PretendardVariable.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions src/main.css
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
@import './reset.css';
@import './styles/fonts.css';
114 changes: 114 additions & 0 deletions src/styles/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
/* Pretendard Variable Font */
@font-face {
font-family: 'Pretendard Variable';
src: url('../assets/fonts/PretendardVariable.woff2') format('woff2');
font-weight: 100 900;
font-style: normal;
font-display: swap;
}

/* Paperlogy Font Family */
@font-face {
font-family: 'Paperlogy';
src: url('../assets/fonts/Paperlogy-1Thin.ttf') format('truetype');
font-weight: 100;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Paperlogy';
src: url('../assets/fonts/Paperlogy-2ExtraLight.ttf') format('truetype');
font-weight: 200;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Paperlogy';
src: url('../assets/fonts/Paperlogy-3Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Paperlogy';
src: url('../assets/fonts/Paperlogy-4Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Paperlogy';
src: url('../assets/fonts/Paperlogy-5Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Paperlogy';
src: url('../assets/fonts/Paperlogy-6SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Paperlogy';
src: url('../assets/fonts/Paperlogy-7Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Paperlogy';
src: url('../assets/fonts/Paperlogy-8ExtraBold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Paperlogy';
src: url('../assets/fonts/Paperlogy-9Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}

/* 폰트 폴백 설정 */
body {
font-family:
'Pretendard Variable',
'Pretendard',
-apple-system,
BlinkMacSystemFont,
system-ui,
Roboto,
'Helvetica Neue',
'Segoe UI',
'Apple SD Gothic Neo',
'Noto Sans KR',
'Malgun Gothic',
'Apple Color Emoji',
'Segoe UI Emoji',
'Segoe UI Symbol',
sans-serif;
}

/* 특정 용도별 폰트 클래스 */
.font-lock {
font-family: 'Paperlogy', 'Courier New', monospace;
}

.font-primary {
font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
}

.font-secondary {
font-family: 'Paperlogy', serif;
}
Loading