changed: chessboard background color saturation

This commit is contained in:
Moon Patel
2023-07-12 19:01:30 +05:30
parent 86041aef9d
commit 03fd3a0692
+1 -1
View File
@@ -29,7 +29,7 @@ const Cell = ({ cell }) => {
return (
<Flex ref={setNodeRef} style={{ aspectRatio: '1/1', position: 'relative' }} sx={theme => {
let color = theme.colors.lime
return { backgroundColor: squareColor === 'b' ? color[8] : color[1] }
return { backgroundColor: squareColor === 'b' ? color[8] : color[1], filter: 'saturate(0.5)' }
}} onClick={handleClick} bg={squareColor === 'w' ? "white" : "gray"} >
{
isOver ?