mirror of
https://github.com/lingble/twenty.git
synced 2025-10-30 04:12:28 +00:00
fix: Toggle not visible in light mode (#7322)
> [!Note] > - This PR solves the issue #7321 > - Added a minor fix in color background of toggle --------- Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user