Skip to content

Commit

Permalink
Merge pull request #11 from TEAM-Hearus/develop
Browse files Browse the repository at this point in the history
Fix: λ””μžμΈ μ‹œμŠ€ν…œ μˆ˜μ • 반영 배포
  • Loading branch information
Nangniya authored Jul 4, 2024
2 parents 116dfda + 5d845f4 commit b6836d4
Show file tree
Hide file tree
Showing 7 changed files with 76 additions and 32 deletions.
4 changes: 2 additions & 2 deletions src/components/common/buttons/TabLink/TabLink.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
display: flex;
align-items: center;
gap: 10px;
@include SemiBold;
font-size: 18px;
@include Medium-Body-16;
color: $light-gray_81;
text-decoration: none;
&.active {
@include SemiBold-Body-16;
color: $dark-orange_E5;
}
}
2 changes: 1 addition & 1 deletion src/components/headers/MainHeader/MainHeader.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
background-color: white;
border: none;
cursor: pointer;
@include Regular;
@include Medium-Sub-14;
}
}
14 changes: 5 additions & 9 deletions src/components/modals/SignupModal/SignupModal.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.modalContainer {
display: flex;
flex-direction: column;
width: 440px;
width: 500px;
padding: 20px;
background-color: white;
border: none;
Expand All @@ -43,8 +43,7 @@
align-items: center;
gap: 6px;
padding: 20px 0 35px 0;
@include Medium;
font-size: 24px;
@include Medium-Title-24;
}
.loginBtnsContainer {
display: flex;
Expand All @@ -59,8 +58,7 @@
padding: 20px;
border: none;
border-radius: 12px;
@include Medium;
font-size: 16px;
@include Medium-Body-16;
img {
position: absolute;
left: 20px;
Expand Down Expand Up @@ -97,9 +95,8 @@
margin-top: 50px;
margin-bottom: 20px;
p {
@include Medium;
@include Medium-Sub-14;
color: $light-bg_89;
font-size: 14px;
}
.signupLink {
display: flex;
Expand All @@ -109,7 +106,6 @@
background: none;
border: none;
color: $brand-point;
@include SemiBold;
font-size: 14px;
@include SemiBold-Sub-14;
}
}
20 changes: 11 additions & 9 deletions src/components/navigators/MainNav/MainNav.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,27 @@
display: flex;
flex-direction: column;
gap: 20px;
width: 250px;
width: 240px;
padding: 20px;
padding-top: 20px;
}
.searchBar {
display: flex;
height: 36px;
padding: 10px;
height: 40px;
padding: 20px;
padding-left: 35px;
background-color: $light-bg_F9;
border: none;
border-radius: 6px;
@include Regular;
color: $light-gray_81;
border: solid 3px $light-bg_E5;
border-radius: 10px;
@include Medium-Sub-14;
&::placeholder {
color: $light-gray_81;
}
}
.searchIcon {
position: relative;
bottom: -46px;
top: 50px;
left: 15px;
width: min-content;
}
.linksContainer {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/navigators/MainNav/MainNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const MainNav = () => {
<span className={styles.searchIcon}>
<Search />
</span>
<input className={styles.searchBar} placeholder="파일 검색" />
<input className={styles.searchBar} type="text" placeholder="파일 검색" />
<section className={styles.linksContainer}>
<TabLink
to="/home"
Expand Down
3 changes: 1 addition & 2 deletions src/pages/Landing/Landing.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
padding: 20px 30px;
background-color: #6d6d6d;
color: white;
@include SemiBold;
font-size: 18px;
@include SemiBold-Body-16;
border: none;
border-radius: 12px;
cursor: pointer;
Expand Down
63 changes: 55 additions & 8 deletions src/styles/variables/fonts.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,66 @@
@mixin Regular {
@mixin Semibold-Title-32 {
font-family: 'Pretendard-SemiBold';
font-size: 32pt;
letter-spacing: -0.025em;
}

@mixin Medium-Title-24 {
// μž„μ˜λ‘œ μΆ”κ°€
font-family: 'Pretendard-Medium';
font-size: 14px;
font-size: 24pt;
letter-spacing: -0.025em;
}

@mixin SemiBold-Body-18 {
font-family: 'Pretendard-SemiBold';
font-size: 18pt;
letter-spacing: -0.025em;
}

@mixin Medium {
@mixin Medium-Body-18 {
font-family: 'Pretendard-Medium';
font-size: 18pt;
letter-spacing: -0.025em;
}

@mixin Regular-Body-18 {
font-family: 'Pretendard-Regular';
font-size: 18px;
font-size: 18pt;
letter-spacing: -0.025em;
}

@mixin SemiBold {
@mixin SemiBold-Body-16 {
font-family: 'Pretendard-SemiBold';
font-size: 24px;
font-size: 16pt;
letter-spacing: -0.025em;
}

@mixin Title {
@mixin Medium-Body-16 {
font-family: 'Pretendard-Medium';
font-size: 16pt;
letter-spacing: -0.025em;
}

@mixin Regular-Body-16 {
font-family: 'Pretendard-Regular';
font-size: 16pt;
letter-spacing: -0.025em;
}

@mixin SemiBold-Sub-14 {
font-family: 'Pretendard-SemiBold';
font-size: 32px;
font-size: 14pt;
letter-spacing: -0.025em;
}

@mixin Medium-Sub-14 {
font-family: 'Pretendard-Medium';
font-size: 14pt;
letter-spacing: -0.025em;
}

@mixin Regular-Sub-14 {
font-family: 'Pretendard-Regular';
font-size: 14pt;
letter-spacing: -0.025em;
}

0 comments on commit b6836d4

Please sign in to comment.