Skip to content

Commit cad73bd

Browse files
committed
Refactor: Home 컬러시스템 background/border 활용해 수정
1 parent 5024c9f commit cad73bd

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/pages/Home/HomeTopBar/styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const HomeTopBarContainer = styled.header`
55
padding: 0.5rem 1.25rem;
66
display: flex;
77
justify-content: space-between;
8-
background-color: white;
8+
background-color: ${({ theme }) => theme.colors.background.primary};
99
z-index: 20;
1010
align-items: center;
1111
position: fixed;

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import styled from 'styled-components';
22
import { StyledText } from '@components/Text/StyledText';
33

44
export const FeedWrapper = styled.article`
5-
background-color: rgba(255, 255, 255, 0.5);
5+
background-color: ${({ theme }) => theme.colors.background.primary};
66
width: 100%;
77
margin-bottom: 1rem;
88
height: auto;
@@ -35,7 +35,7 @@ export const FeedProfileImgWrapper = styled.img`
3535
overflow: hidden;
3636
object-fit: cover;
3737
38-
background: #ffdeed;
38+
background: ${({ theme }) => theme.colors.brand.primaryLighter};
3939
4040
box-shadow:
4141
0px 1px 2px 0px rgba(0, 0, 0, 0.12),
@@ -110,15 +110,15 @@ export const FeedImgBox = styled.div`
110110
width: 0.375rem;
111111
height: 0.375rem;
112112
border: 0.0625rem solid ${({ theme }) => theme.colors.white};
113-
background: rgba(255, 255, 255, 0.5);
113+
background: ${({ theme }) => theme.colors.background.primary}50;
114114
opacity: 1;
115115
pointer-events: auto; /* 페이지네이션 클릭 가능 */
116116
}
117117
118118
.ootdSwiper .swiper-pagination-bullet-active {
119119
width: 0.375rem;
120120
height: 0.375rem;
121-
background-color: ${({ theme }) => theme.colors.white};
121+
background-color: ${({ theme }) => theme.colors.background.primary};
122122
opacity: 1;
123123
}
124124

src/pages/Home/OOTD/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const OOTD: React.FC = () => {
119119
</div>
120120
))}
121121
{/* Intersection Observer가 감지할 마지막 요소 */}
122-
<div ref={loadMoreRef} style={{ height: '1px', backgroundColor: 'transparent' }} />
122+
<div ref={loadMoreRef} />
123123
</FeedContainer>
124124
{isStatusModalOpen && <Modal {...statusModalProps} />}
125125
</OOTDContainer>

0 commit comments

Comments
 (0)