Skip to content

Commit

Permalink
added border to helper
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Aug 22, 2022
1 parent bc3aaf3 commit 5181891
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/src/components/molecules/Helper/Helper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,18 @@ const Container = styled.div<{ $type: HelperType; $alignment: Alignment }>(
`}
background-color: ${theme.colors.lightBlue};
border: ${theme.borderWidths.px} solid ${theme.colors.blue};
${$type === 'warning' &&
css`
background-color: ${theme.colors.lightYellow};
border-color: ${theme.colors.yellow};
`}
${$type === 'error' &&
css`
background-color: ${theme.colors.lightRed};
border-color: ${theme.colors.red};
`}
`,
)
Expand Down

0 comments on commit 5181891

Please sign in to comment.