fix bad dark mode color in item support drawer

This commit is contained in:
Emi Matchu 2020-08-12 00:43:26 -07:00
parent 086cf8b335
commit 71e1112b63

View file

@ -280,6 +280,9 @@ function ItemSupportAppearanceLayer({
}) { }) {
const { isOpen, onOpen, onClose } = useDisclosure(); const { isOpen, onOpen, onClose } = useDisclosure();
const iconButtonBgColor = useColorModeValue("green.100", "green.300");
const iconButtonColor = useColorModeValue("green.800", "gray.900");
return ( return (
<Box <Box
as="button" as="button"
@ -314,7 +317,8 @@ function ItemSupportAppearanceLayer({
opacity: 1; opacity: 1;
} }
`} `}
background="green.100" background={iconButtonBgColor}
color={iconButtonColor}
borderRadius="full" borderRadius="full"
boxShadow="sm" boxShadow="sm"
position="absolute" position="absolute"