Skip to content

Commit 8541088

Browse files
committed
refactor: text.tertiar로 접근
1 parent 6e0027e commit 8541088

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

src/pages/Account/AccountEdit/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ const AccountEdit: React.FC = () => {
4747
</SectionTitle>
4848
<SNSInfo>
4949
<SnsConnection>
50-
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.tertiary}>
50+
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.text.tertiary}>
5151
SNS 연결
5252
</StyledText>
5353
</SnsConnection>
5454
<Text>
55-
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.tertiary}>
55+
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.text.tertiary}>
5656
연결된 SNS계정으로 로그인되었습니다.
5757
</StyledText>
5858
</Text>
@@ -71,15 +71,15 @@ const AccountEdit: React.FC = () => {
7171
<MemberInfo>
7272
<MemberInfoRow>
7373
<Label>
74-
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.tertiary}>
74+
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.text.tertiary}>
7575
이름
7676
</StyledText>
7777
</Label>
7878
<Info>-</Info>
7979
</MemberInfoRow>
8080
<MemberInfoRow>
8181
<Label>
82-
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.tertiary}>
82+
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.text.tertiary}>
8383
연락처
8484
</StyledText>
8585
</Label>

src/pages/Account/AccountEdit/styles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const SNSIcon = styled.img`
4646

4747
export const Text = styled.div`
4848
font-size: 0.875rem;
49-
color: ${({ theme }) => theme.colors.tertiary};
49+
color: ${({ theme }) => theme.colors.text.tertiary};
5050
margin-top: 2.1875rem;
5151
text-align: left;
5252
`;

src/pages/Account/AccountSetting/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const AccountSetting: React.FC = () => {
9595
</Row>
9696
<Row>
9797
<Label>
98-
<StyledText $textTheme={{ style: 'caption1-regular' }} color={theme.colors.tertiary}>
98+
<StyledText $textTheme={{ style: 'caption1-regular' }} color={theme.colors.text.tertiary}>
9999
{userProfile?.name} | {userProfile?.email}
100100
</StyledText>
101101
</Label>

src/pages/Account/Verification/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const Verification: React.FC = () => {
112112

113113
<Container>
114114
<Title>
115-
<StyledText $textTheme={{ style: 'body1-medium' }} color={theme.colors.tertiary}>
115+
<StyledText $textTheme={{ style: 'body1-medium' }} color={theme.colors.text.tertiary}>
116116
휴대전화번호로 본인인증하기
117117
</StyledText>
118118
</Title>

src/pages/Profile/ProfileEdit/index.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,42 +179,42 @@ const ProfileEdit: React.FC = () => {
179179
<FileInput type="file" ref={fileInputRef} onChange={handleFileChange} />
180180
</ProfilePicWrapper>
181181
<UserInfo>
182-
<StyledText $textTheme={{ style: 'Heading' }} color={theme.colors.tertiary}>
182+
<StyledText $textTheme={{ style: 'Heading' }} color={theme.colors.text.tertiary}>
183183
<Username>{nickname || '알수없음'}</Username>
184184
</StyledText>
185185
</UserInfo>
186186
<Row>
187-
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.tertiary}>
187+
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.text.tertiary}>
188188
이름
189189
</StyledText>
190190
<Input type="text" value={name} onChange={(e) => setName(e.target.value)} />
191191
</Row>
192192
<Row>
193-
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.tertiary}>
193+
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.text.tertiary}>
194194
닉네임
195195
</StyledText>
196196
<Input type="text" value={nickname} onChange={(e) => setNickname(e.target.value)} />
197197
</Row>
198198
<Row>
199-
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.tertiary}>
199+
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.text.tertiary}>
200200
소개글
201201
</StyledText>
202202
<Input value={bio} onChange={(e) => setBio(e.target.value)} />
203203
</Row>
204204
<Row>
205-
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.tertiary}>
205+
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.text.tertiary}>
206206
전화번호
207207
</StyledText>
208208
<Input type="text" value={phoneNumber} onChange={(e) => setPhoneNumber(e.target.value)} />
209209
</Row>
210210
<Row>
211-
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.tertiary}>
211+
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.text.tertiary}>
212212
생년월일
213213
</StyledText>
214214
<Input type="date" value={birthDate} onChange={(e) => setBirthDate(e.target.value)} />
215215
</Row>
216216
<Row>
217-
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.tertiary}>
217+
<StyledText $textTheme={{ style: 'body2-regular' }} color={theme.colors.text.tertiary}>
218218
이메일
219219
</StyledText>
220220
<EmailInput type="email" value={email} onChange={(e) => setEmail(e.target.value)} />

0 commit comments

Comments
 (0)