Skip to content

Commit

Permalink
Conf: replace fonts #162
Browse files Browse the repository at this point in the history
  • Loading branch information
HOOOO98 committed Jan 23, 2024
1 parent 19afb7e commit 9bc8ab4
Show file tree
Hide file tree
Showing 10 changed files with 1,059 additions and 239 deletions.
847 changes: 825 additions & 22 deletions package-lock.json

Large diffs are not rendered by default.

Binary file added src/assets/fonts/SpoqaHanSansNeo-Bold.ttf
Binary file not shown.
Binary file added src/assets/fonts/SpoqaHanSansNeo-Light.ttf
Binary file not shown.
Binary file added src/assets/fonts/SpoqaHanSansNeo-Medium.ttf
Binary file not shown.
Binary file added src/assets/fonts/SpoqaHanSansNeo-Regular.ttf
Binary file not shown.
Binary file added src/assets/fonts/SpoqaHanSansNeo-Thin.ttf
Binary file not shown.
416 changes: 206 additions & 210 deletions src/chakra/chakraCustomTheme.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/pages/Home/Home.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "@/sass" as *;
@use '@/sass' as *;

.container {
width: 100%;
Expand All @@ -11,7 +11,7 @@
padding-top: 56px;
padding-bottom: 75px;

font-family: "suit", sans-serif;
font-family: 'spoqaHanSans', sans-serif;

-ms-overflow-style: none;
scrollbar-width: none;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/SearchFromHome/SearchFromHome.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
display: flex;
flex-direction: column;

font-family: 'suit', sans-serif;
font-family: 'spoqaHanSans', sans-serif;

color: $neutral900;

Expand Down
29 changes: 25 additions & 4 deletions src/sass/base/_normalize.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,32 @@
//브라우저 스타일 초기화 또는 재설정을 정의합니다.
@font-face {
font-family: "suit"; // 이름 선언
src: url("../../assets/fonts/SUIT-Variable.ttf"); // 내가 저장한 경로!
font-family: 'SpoqaHanSans'; // 이름 선언
src: url('../../assets/fonts/spoqaHanSans-Thin.ttf');
font-weight: 100; // 내가 저장한 경로!
}
@font-face {
font-family: 'SpoqaHanSans'; // 이름 선언
src: url('../../assets/fonts/spoqaHanSans-Light.ttf');
font-weight: 300; // 내가 저장한 경로!
}
@font-face {
font-family: 'SpoqaHanSans'; // 이름 선언
src: url('../../assets/fonts/spoqaHanSans-Regular.ttf');
font-weight: 400; // 내가 저장한 경로!
}
@font-face {
font-family: 'SpoqaHanSans'; // 이름 선언
src: url('../../assets/fonts/spoqaHanSans-Medium.ttf');
font-weight: 500; // 내가 저장한 경로!
}
@font-face {
font-family: 'SpoqaHanSans'; // 이름 선언
src: url('../../assets/fonts/spoqaHanSans-Bold.ttf');
font-weight: 700; // 내가 저장한 경로!
}

:root {
font-family: "suit", sans-serif;
font-family: 'spoqaHanSans', sans-serif;
line-height: 1.5;
font-weight: 400;

Expand All @@ -20,7 +41,7 @@
}

body {
font-family: "suit", sans-serif;
font-family: 'spoqaHanSans', sans-serif;

display: flex;
justify-content: center;
Expand Down

0 comments on commit 9bc8ab4

Please sign in to comment.