feat(ui): add greyscale invoke logo to invoke button when as icon

This commit is contained in:
psychedelicious
2023-09-21 09:25:06 +10:00
committed by Kent Keirsey
parent b915d74127
commit 7fecebf7db
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,22 @@
import { Box, Image } from '@chakra-ui/react';
import InvokeAILogoImage from 'assets/images/logo.png';
import { memo } from 'react';
const GreyscaleInvokeAIIcon = () => (
<Box pos="relative" w={4} h={4}>
<Image
src={InvokeAILogoImage}
alt="invoke-ai-logo"
pos="absolute"
top={-0.5}
insetInlineStart={-0.5}
w={5}
h={5}
minW={5}
minH={5}
filter="saturate(0)"
/>
</Box>
);
export default memo(GreyscaleInvokeAIIcon);