Skip to content

Commit

Permalink
fix: Toggle not visible in light mode (#7322)
Browse files Browse the repository at this point in the history
> [!Note]
> - This PR solves the issue #7321 
> - Added a minor fix in color background of toggle

---------

Co-authored-by: Félix Malfait <[email protected]>
  • Loading branch information
harshit078 and FelixMalfait authored Oct 3, 2024
1 parent 62fe1d0 commit 8350e7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type ContainerProps = {
const StyledContainer = styled.div<ContainerProps>`
align-items: center;
background-color: ${({ theme, isOn, color }) =>
isOn ? (color ?? theme.color.blue) : theme.background.quaternary};
isOn ? (color ?? theme.color.blue) : theme.background.transparent.medium};
border-radius: 10px;
cursor: pointer;
display: flex;
Expand Down

0 comments on commit 8350e7d

Please sign in to comment.