fix bad dark mode color in item support drawer
This commit is contained in:
parent
086cf8b335
commit
71e1112b63
1 changed files with 5 additions and 1 deletions
|
@ -280,6 +280,9 @@ function ItemSupportAppearanceLayer({
|
|||
}) {
|
||||
const { isOpen, onOpen, onClose } = useDisclosure();
|
||||
|
||||
const iconButtonBgColor = useColorModeValue("green.100", "green.300");
|
||||
const iconButtonColor = useColorModeValue("green.800", "gray.900");
|
||||
|
||||
return (
|
||||
<Box
|
||||
as="button"
|
||||
|
@ -314,7 +317,8 @@ function ItemSupportAppearanceLayer({
|
|||
opacity: 1;
|
||||
}
|
||||
`}
|
||||
background="green.100"
|
||||
background={iconButtonBgColor}
|
||||
color={iconButtonColor}
|
||||
borderRadius="full"
|
||||
boxShadow="sm"
|
||||
position="absolute"
|
||||
|
|
Loading…
Reference in a new issue