Created a temporary background transparent blue color for checkboxes (#8363)

Created a temporary background transparent blue color for checkboxes

Co-authored-by: Weiko <corentin@twenty.com>
This commit is contained in:
Lucas Bordeau
2024-11-18 12:14:55 +01:00
committed by GitHub
parent a0200e6d91
commit 6a977ad529
3 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,6 @@
import styled from '@emotion/styled';
import { IconCheck, IconMinus } from '@ui/display';
import { IconCheck, IconMinus } from '@ui/display/icon/components/TablerIcons';
import * as React from 'react';
export enum CheckboxVariant {
@ -62,7 +63,7 @@ const StyledInputContainer = styled.div<InputProps>`
return `&:hover{
background-color: ${
indeterminate || isChecked
? theme.color.blue10
? theme.background.transparent.blue
: theme.background.transparent.light
};
}}