feat(ui): fade layer selection color

This commit is contained in:
psychedelicious 2024-05-06 16:36:29 +10:00 committed by Kent Keirsey
parent 44ecddae2e
commit c5b948bc3f

View File

@ -10,7 +10,7 @@ type Props = PropsWithChildren<{
export const LayerWrapper = memo(({ onClick, borderColor, children }: Props) => {
return (
<Flex gap={2} onClick={onClick} bg={borderColor} px={2} borderRadius="base" py="1px">
<Flex gap={2} onClick={onClick} bg={borderColor} px={2} borderRadius="base" py="1px" transitionProperty="all" transitionDuration="0.2s">
<Flex flexDir="column" w="full" bg="base.850" borderRadius="base">
{children}
</Flex>