mirror of
https://github.com/lingble/twenty.git
synced 2025-11-01 05:07:56 +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>`
|
const StyledContainer = styled.div<ContainerProps>`
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: ${({ theme, isOn, color }) =>
|
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;
|
border-radius: 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user