Skip to content

Commit deb093b

Browse files
committed
Refactor: Home 컬러시스템 적용
1 parent 07db36d commit deb093b

4 files changed

Lines changed: 5 additions & 15 deletions

File tree

src/pages/Home/OOTD/Feed/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,18 +203,18 @@ const Feed: React.FC<FeedProps> = ({ feed }) => {
203203
<FeedTop>
204204
<Info onClick={handleUserClick}>
205205
<FeedProfileImgWrapper src={feed.user.profilePictureUrl || defaultProfile} alt="profile" />
206-
<StyledText $textTheme={{ style: 'body2-medium' }} color={theme.colors.black}>
206+
<StyledText $textTheme={{ style: 'body2-medium' }} color={theme.colors.text.primary}>
207207
{feed.user.nickname}
208208
</StyledText>
209209
</Info>
210-
<FeedTimeAgo $textTheme={{ style: 'caption2-medium' }} color={theme.colors.gray2}>
210+
<FeedTimeAgo $textTheme={{ style: 'caption2-regular' }} color={theme.colors.text.caption}>
211211
{timeAgo}
212212
</FeedTimeAgo>
213213
<MoreBtn onClick={handleMoreButtonClick}>
214214
<img src={more} />
215215
</MoreBtn>
216216
</FeedTop>
217-
<FeedText $textTheme={{ style: 'body2-regular' }} color={theme.colors.black}>
217+
<FeedText $textTheme={{ style: 'body2-regular' }} color={theme.colors.text.primary}>
218218
{feed.content}
219219
</FeedText>
220220
<FeedImgBox>
@@ -243,7 +243,7 @@ const Feed: React.FC<FeedProps> = ({ feed }) => {
243243
</Reaction>
244244
<MatchingBtn onClick={handleMatchingButtonClick}>
245245
<Message color="white" />
246-
<StyledText $textTheme={{ style: 'body1-regular' }} color={theme.colors.white}>
246+
<StyledText $textTheme={{ style: 'body1-regular' }} color={theme.colors.text.contrast}>
247247
매칭 요청
248248
</StyledText>
249249
</MatchingBtn>

src/pages/Home/OOTD/Feed/styles.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,16 +162,14 @@ export const Reaction = styled.div`
162162
`;
163163

164164
export const MatchingBtn = styled.button`
165-
background: ${({ theme }) => theme.colors.gradient};
165+
background: ${({ theme }) => theme.colors.brand.gradient};
166166
border-radius: 3.19rem;
167-
backdrop-filter: blur(0.3125rem);
168167
display: flex;
169168
justify-content: center;
170169
align-items: center;
171170
padding: 0.85rem 1.25rem;
172171
gap: 0.58rem;
173172
width: 11.5rem;
174-
color: white;
175173
`;
176174

177175
export const MoreBtn = styled.button`

src/pages/Home/OOTD/styles.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ export const OOTDContainer = styled.div`
99
margin-bottom: 4.25rem;
1010
`;
1111

12-
export const OOTDLoading = styled.div`
13-
margin-top: 200px;
14-
`;
15-
16-
// Feed
17-
1812
export const FeedContainer = styled.div`
1913
display: flex;
2014
flex-direction: column;

src/pages/Home/styles.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import styled from 'styled-components';
22

3-
// HomeContainer
4-
53
export const HomeContainer = styled.div`
64
flex-grow: 1;
75
height: auto;

0 commit comments

Comments
 (0)