Skip to content

Commit 56338c2

Browse files
fix: Toggle not visible in light mode (twentyhq#7322)
> [!Note] > - This PR solves the issue twentyhq#7321 > - Added a minor fix in color background of toggle --------- Co-authored-by: Félix Malfait <[email protected]>
1 parent ed6d46f commit 56338c2

File tree

1 file changed

+1
-1
lines changed
  • packages/twenty-front/src/modules/ui/input/components

1 file changed

+1
-1
lines changed

packages/twenty-front/src/modules/ui/input/components/Toggle.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type ContainerProps = {
1616
const StyledContainer = styled.div<ContainerProps>`
1717
align-items: center;
1818
background-color: ${({ theme, isOn, color }) =>
19-
isOn ? (color ?? theme.color.blue) : theme.background.quaternary};
19+
isOn ? (color ?? theme.color.blue) : theme.background.transparent.medium};
2020
border-radius: 10px;
2121
cursor: pointer;
2222
display: flex;

0 commit comments

Comments
 (0)