Merge pull request #1150 from mirumee/SALEOR-2263/image-visibility-in-dark-mode

transparent bg & thicker selection border
This commit is contained in:
SektorDV 2021-06-11 13:15:39 +02:00 committed by GitHub
commit 4f39e75f2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ const useStyles = makeStyles(
width: "100%" width: "100%"
}, },
imageContainer: { imageContainer: {
background: "#ffffff", background: "transparent",
border: "1px solid #eaeaea", border: "1px solid #eaeaea",
borderRadius: theme.spacing(), borderRadius: theme.spacing(),
cursor: "pointer", cursor: "pointer",
@ -43,7 +43,8 @@ const useStyles = makeStyles(
} }
}, },
selectedImageContainer: { selectedImageContainer: {
borderColor: theme.palette.primary.main borderColor: theme.palette.primary.main,
borderWidth: "2px"
} }
}), }),
{ name: "ProductVariantImageSelectDialog" } { name: "ProductVariantImageSelectDialog" }