Skip to content

Commit

Permalink
chore: checkbox hover
Browse files Browse the repository at this point in the history
  • Loading branch information
SHolleworth committed Jan 13, 2025
1 parent 85b1526 commit 8810476
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,20 @@ const CheckBox = styled.input.attrs({ type: "checkbox" })<{
height: 14px;
border-radius: 4px;
&:hover {
border: 1px solid
${({ theme }) => theme.newTheme.color["Colors/Background/bg-brand-solid"]};
}
${({ theme, checked }) =>
checked &&
`
background-color: ${theme.newTheme.color["Colors/Background/bg-brand-solid"]};
background-image: url("${Check}");
&:hover {
background-color: ${theme.newTheme.color["Colors/Background/bg-brand-solid_hover"]}
}
`}
`

Expand Down

0 comments on commit 8810476

Please sign in to comment.