@@ -19,6 +19,7 @@ import IconNetwork from '@/public/icons/icon-network.svg';
1919import IconAppjam from '@/public/icons/icon-appjam-build.svg' ;
2020import IconProject from '@/public/icons/icon-project-suggest.svg' ;
2121import IconEtc from '@/public/icons/icon-postnote-etc.svg' ;
22+ import { fonts } from '@sopt-makers/fonts' ;
2223
2324export enum MessageCategory {
2425 NETWORK = '친목' ,
@@ -155,12 +156,12 @@ const MessageModal: FC<MessageModalProps> = ({
155156 < StyledIconPlane >
156157 < IconPlane />
157158 </ StyledIconPlane >
158- < Text mt = { 24 } typography = 'SUIT_24_B' >
159+ < StyledText mb = { fonts . HEADING_20_B } pc = { fonts . HEADING_24_B } >
159160 { name } 님에게 쪽지 보내기
160- </ Text >
161- < Text mt = { 14 } typography = 'SUIT_14_M' color = { colors . gray300 } >
161+ </ StyledText >
162+ < StyledText mb = { fonts . BODY_13_M } pc = { fonts . BODY_14_M } color = { colors . gray300 } >
162163 작성하신 내용은 회원님의 프로필과 함께 문자로 전달돼요
163- </ Text >
164+ </ StyledText >
164165 < StyledCategory >
165166 { CATEGORY . map ( ( category , index ) => (
166167 < StyledCategoryItem
@@ -169,7 +170,7 @@ const MessageModal: FC<MessageModalProps> = ({
169170 isSelected = { category . value === ( selectedCategory as MessageCategory | null ) }
170171 >
171172 < category . icon />
172- < Text typography = 'SUIT_15_SB' > { category . value } </ Text >
173+ < span > { category . value } </ span >
173174 </ StyledCategoryItem >
174175 ) ) }
175176 </ StyledCategory >
@@ -203,14 +204,8 @@ const MessageModal: FC<MessageModalProps> = ({
203204 defaultValue = ''
204205 disableEnterSubmit
205206 />
206- < StyledButton type = 'submit' disabled = { ! isValid || isPending } >
207- { isPending ? (
208- < Loading color = 'white' />
209- ) : (
210- < Text typography = 'SUIT_15_SB' color = { isValid ? colors . gray950 : colors . gray400 } >
211- 쪽지 보내기
212- </ Text >
213- ) }
207+ < StyledButton size = 'md' type = 'submit' disabled = { ! isValid || isPending } >
208+ { isPending ? < Loading color = 'white' /> : '쪽지 보내기' }
214209 </ StyledButton >
215210 </ StyledForm >
216211 { ConfirmComponent }
@@ -245,6 +240,7 @@ const StyledIconPlane = styled.div`
245240 display: flex;
246241 align-items: center;
247242 justify-content: center;
243+ margin-bottom: 16px;
248244 border-radius: 15.75px;
249245 background: ${ colors . blue50 } ;
250246 width: 54px;
@@ -255,6 +251,7 @@ const StyledIconPlane = styled.div`
255251 }
256252
257253 @media ${ MB_BIG_MEDIA_QUERY } {
254+ margin-bottom: 12px;
258255 border-radius: 14px;
259256 width: 44px;
260257 height: 44px;
@@ -265,22 +262,38 @@ const StyledIconPlane = styled.div`
265262 }
266263` ;
267264
265+ const StyledText = styled ( Text ) < { mb : string ; pc : string } > `
266+ ${ ( { pc } ) =>
267+ pc &&
268+ `
269+ ${ pc }
270+ ` }
271+
272+ @media ${ MB_BIG_MEDIA_QUERY } {
273+ ${ ( { mb } ) =>
274+ mb &&
275+ `${ mb }
276+ ` }
277+ }
278+ ` ;
279+
268280const StyledCategory = styled . section `
269281 display: flex;
270282 flex-wrap: wrap;
271283 row-gap: 12px;
272- column-gap: 12px ;
284+ column-gap: 10px ;
273285 align-items: center;
274286 justify-content: center;
275287 margin: 32px 0 44px;
276- width: 225px ;
288+ width: 230px ;
277289
278290 @media ${ MB_BIG_MEDIA_QUERY } {
279- margin: 24px 0 32px ;
291+ margin: 24px 0 36px ;
280292 }
281293` ;
282294
283295const StyledCategoryItem = styled . div < { isSelected : boolean } > `
296+ box-sizing: border-box;
284297 display: flex;
285298 gap: 4px;
286299 align-items: center;
@@ -291,6 +304,7 @@ const StyledCategoryItem = styled.div<{ isSelected: boolean }>`
291304 background-color: ${ colors . gray800 } ;
292305 cursor: pointer;
293306 padding: 6px 16px 6px 10px;
307+ ${ fonts . LABEL_16_SB }
294308
295309 & span {
296310 color: ${ ( { isSelected } ) => ( isSelected ? colors . gray10 : colors . gray400 ) } ;
@@ -332,5 +346,5 @@ const TextLength = styled.span`
332346` ;
333347
334348const StyledButton = styled ( Button ) `
335- margin-top: 40px ;
349+ margin-top: 16px ;
336350` ;
0 commit comments