Skip to content

Commit

Permalink
fix error formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ccatherinetan committed Oct 17, 2023
1 parent cc9e235 commit 60b7b37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TextInput/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ export const InputText = styled.input<{ $error: boolean }>`
&:focus {
outline: none !important;
border: 1px solid ${COLORS.activeGreen};
border: 1px solid ${({$error}) => ($error ? COLORS.errorColor : COLORS.activeGreen)};
}
&::placeholder {
color: ${COLORS.inputSuggestionColor};
color: ${({$error}) => ($error ? COLORS.errorColor : COLORS.inputSuggestionColor)};
}
`
export const InputTitleText = styled.label`
Expand Down

0 comments on commit 60b7b37

Please sign in to comment.