Skip to content

Commit a3e4b63

Browse files
committed
Refactor: OODDFrame & Loading & StyledText 컬러시스템 적용
1 parent 99cf43d commit a3e4b63

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/Frame/Frame.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import theme from '@styles/theme';
33

44
export const OODDFrame = styled.div`
55
${theme.breakPoints};
6-
background-color: ${({ theme }) => theme.colors.white};
6+
background-color: ${({ theme }) => theme.colors.background.primary};
77
height: 100vh;
88
margin: auto;
99
display: flex;

src/components/Loading/styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const Dot = styled.hr<{ $index: number }>`
3535
z-index: 200;
3636
border-radius: 50%;
3737
border: none;
38-
background-color: ${({ theme }) => theme.colors.gray2};
38+
background-color: ${({ theme }) => theme.colors.gray[300]};
3939
4040
// 각 점에 대해 딜레이를 적용하여 순차적으로 애니메이션을 시작
4141
animation: ${bounceGroup} 2s ease-in-out infinite;

src/components/Text/StyledText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useMediaQuery } from 'react-responsive';
44
import type { StyledTextProps } from './dto';
55

66
export const StyledText = styled.div<StyledTextProps>`
7-
color: ${(props) => props.color || theme.colors.black};
7+
color: ${(props) => props.color || theme.colors.text.primary};
88
white-space: pre-line;
99
${(props) => {
1010
const isMobile = useMediaQuery({ maxWidth: '767px' });

0 commit comments

Comments
 (0)