Skip to content

Commit 5024c9f

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

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/pages/Chats/ChatRoom/ChatBox/styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const ChatBoxContainer = styled.div`
1111
1212
display: flex;
1313
padding: 0.5rem 1.12rem;
14-
background-color: ${({ theme }) => theme.colors.text.white};
14+
background-color: ${({ theme }) => theme.colors.background.primary};
1515
gap: 0.5rem;
1616
border-top: 1px solid ${({ theme }) => theme.colors.gray[300]};
1717
align-items: center;

src/pages/Chats/ChatRoom/SentMessage/styles.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ export const MessageLayout = styled.div<{ $isSenderChanged: boolean }>`
1010

1111
export const Message = styled(StyledText)`
1212
padding: 0.4rem 0.8rem;
13-
/* background-color: ${({ theme }) => theme.colors.brand.primaryLight}; */
14-
border: 1.2px solid ${({ theme }) => theme.colors.brand.primaryLight};
13+
background-color: ${({ theme }) => theme.colors.brand.primaryLight};
14+
/* border: 1.2px solid ${({ theme }) => theme.colors.brand.primaryLight}; */
1515
border-radius: 0.8rem 0 0.8rem 0.8rem;
1616
max-width: 75%;
1717
overflow-wrap: break-word;

src/pages/Chats/Matching/Cards/Card/styles.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import styled from 'styled-components';
22
import ArrowIcon from '@assets/arrow/min-right.svg';
33

44
export const CardLayout = styled.div`
5-
background-color: ${({ theme }) => theme.colors.gray[200]};
5+
background-color: ${({ theme }) => theme.colors.background.divider};
66
border-radius: 0.5rem;
77
position: relative;
88
height: 100%;
@@ -108,7 +108,7 @@ export const OOTDImgBox = styled.div`
108108
.childSwiper .swiper-pagination-bullet-active {
109109
width: 0.375rem;
110110
height: 0.375rem;
111-
background-color: ${({ theme }) => theme.colors.white};
111+
background-color: ${({ theme }) => theme.colors.background.primary};
112112
opacity: 1;
113113
}
114114

src/pages/Chats/TabBar/styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const TabBarList = styled.ul`
2222
`;
2323

2424
export const TabBarWrapper = styled.li<{ $isSelected: boolean; $isPointer: boolean }>`
25-
border-bottom: 0.13rem solid ${({ theme }) => theme.colors.gray[200]};
25+
border-bottom: 0.13rem solid ${({ theme }) => theme.colors.border.divider};
2626
border-image: ${({ $isSelected, theme }) => ($isSelected ? `${theme.colors.brand.gradient} 0 0 1 0` : 'transparent')};
2727
text-align: center;
2828
flex-grow: 1;

0 commit comments

Comments
 (0)