Skip to content

Commit

Permalink
fix: color theme key
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinho1011 committed Jan 23, 2024
1 parent f4bd821 commit 0d0c015
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/Home/Comment/Comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const Comment = React.memo(({ comment }: CommentProps) => {
{'·'} {distanceText}
</Text>
</Row>
<Text size={14} color={colors.sub_A} weight={600}>
<Text size={14} color={colors.A} weight={600}>
{comment.writersVotedOption}
</Text>
</Col>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Notifications/NotificationItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const NotificationItem = ({ onClick, notification }: NotificationItem) => {
<Text size={15} weight={500} color={colors.white}>
투표가 마감 되었어요, 지금 바로 결과를 확인해 보세요!
</Text>
<Text size={14} weight={400} color={colors.sub_purple2}>
<Text size={14} weight={400} color={colors.purple2}>
성수 치킨 버거의 종결지는? 성수 치킨 버거의 종결지는?
</Text>
</Col>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Notifications/TabHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const TabHeader = ({ currentTab, setCurrentTab }: TabHeaderProps) => {
<Text
size={18}
weight={600}
color={tabName === currentTab ? colors.sub_purple2 : colors.white}
color={tabName === currentTab ? colors.purple2 : colors.white}
style={{ position: 'relative', zIndex: 1 }}
>
{tabName}
Expand Down
6 changes: 3 additions & 3 deletions src/components/commons/RadioInput/RadioInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ const RadioLabel = styled.label<{ checked: boolean }>`
font-weight: 700;
color: ${({ theme }) => theme.colors.purple};
text-align: center;
background-color: ${({ checked, theme }) => (checked ? theme.colors.sub_navy2 : 'transparent')};
border: 1px solid ${({ theme }) => theme.colors.sub_purple};
background-color: ${({ checked, theme }) => (checked ? theme.colors.navy2 : 'transparent')};
border: 1px solid ${({ theme }) => theme.colors.purple};
border-radius: 10px;
`;

Expand Down Expand Up @@ -58,7 +58,7 @@ const RadioInput = (props: RadioInputProps) => {
</Row>
<ErrorMessage>
{errors[id] && (
<Text size={13} weight={700} color={colors.sub_purple2}>
<Text size={13} weight={700} color={colors.purple2}>
* {errors[id]?.message?.toString()}
</Text>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/commons/SelectInput/SelectInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const SelectInput = (props: SelectInputProps) => {
</StyledSelect>
<ErrorMessage>
{errors[id] && (
<Text size={13} weight={700} color={colors.sub_purple2}>
<Text size={13} weight={700} color={colors.purple2}>
* {errors[id]?.message?.toString()}
</Text>
)}
Expand Down

0 comments on commit 0d0c015

Please sign in to comment.