Skip to content

Commit

Permalink
refactor: text-shadow 변수 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
esthel7 committed Dec 5, 2023
1 parent c799b26 commit 484514f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions front/src/components/Msg/ListMsg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const StyledLetterBox = styled.div<MsgColor>`
display: flex;
align-self: center;
font: ${props => props.theme.font['--normal-introduce-font']};
text-shadow: -1px 0px black, 0px 1px black, 1px 0px black, 0px -1px black;
text-shadow: ${props => props.theme.font['--text-shadow']};
flex-direction: column;
border-radius: 1rem;
padding: 1.5rem;
Expand Down Expand Up @@ -60,7 +60,7 @@ const StyledFromInput = styled.input`
border: none;
background-color: transparent;
color: ${props => props.theme.colors['--nick-name']};
text-shadow: -1px 0px black, 0px 1px black, 1px 0px black, 0px -1px black;
text-shadow: ${props => props.theme.font['--text-shadow']};
font-size: 1rem;
font-weight: 700;
pointer-events: stroke;
Expand Down
4 changes: 2 additions & 2 deletions front/src/components/Msg/Msg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const StyledLetterBox = styled.div<MsgColor>`
display: flex;
align-self: center;
font: ${props => props.theme.font['--normal-introduce-font']};
text-shadow: -1px 0px black, 0px 1px black, 1px 0px black, 0px -1px black;
text-shadow: ${props => props.theme.font['--text-shadow']};
flex-direction: column;
border-radius: 1rem;
padding: 1.5rem;
Expand Down Expand Up @@ -100,7 +100,7 @@ const StyledFromInput = styled.input`
border: none;
background-color: transparent;
color: ${props => props.theme.colors['--nick-name']};
text-shadow: -1px 0px black, 0px 1px black, 1px 0px black, 0px -1px black;
text-shadow: ${props => props.theme.font['--text-shadow']};
font-size: 1rem;
font-weight: 700;
pointer-events: stroke;
Expand Down

0 comments on commit 484514f

Please sign in to comment.