mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): fade layer selection color
This commit is contained in:
parent
44ecddae2e
commit
c5b948bc3f
@ -10,7 +10,7 @@ type Props = PropsWithChildren<{
|
|||||||
|
|
||||||
export const LayerWrapper = memo(({ onClick, borderColor, children }: Props) => {
|
export const LayerWrapper = memo(({ onClick, borderColor, children }: Props) => {
|
||||||
return (
|
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">
|
<Flex flexDir="column" w="full" bg="base.850" borderRadius="base">
|
||||||
{children}
|
{children}
|
||||||
</Flex>
|
</Flex>
|
||||||
|
Loading…
Reference in New Issue
Block a user