Skip to content

Commit

Permalink
fix red
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-odonovan committed Jan 28, 2025
1 parent 7d0bf4c commit 57f37d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Atoms/Checkbox/Checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const StyledCheckboxInput = styled.input.attrs({ type: 'checkbox' })`
:checked + span {
background: url(${checkBoxIcon}) no-repeat center;
background-size: contain;
background-color: ${({ theme, checkboxBgChecked }) => (checkboxBgChecked ? theme.color(checkboxBgChecked) : theme.color('white'))};
border: 1px solid ${({ theme, checkboxBorderChecked }) => (checkboxBorderChecked ? theme.color(checkboxBorderChecked) : theme.color('grey'))};
background-color: ${({ theme, checkboxBgChecked }) => (checkboxBgChecked ? theme.color(checkboxBgChecked) : theme.color('red'))};
border: 1px solid ${({ theme, checkboxBorderChecked }) => (checkboxBorderChecked ? theme.color(checkboxBorderChecked) : theme.color('red'))};
}
/* Visual checkbox when focused */
:focus + span {
Expand Down

0 comments on commit 57f37d7

Please sign in to comment.