Demo drawings outlined

This commit is contained in:
Kalle (Sendou)
2021-06-28 00:07:54 +03:00
parent 51456aadd1
commit 2746750160
7 changed files with 15 additions and 2 deletions

View File

@@ -1,4 +1,9 @@
import { Box, Image } from "@chakra-ui/react";
import {
Box,
Image,
useColorMode,
useColorModePreference,
} from "@chakra-ui/react";
import { useState } from "react";
interface HSL {
@@ -377,6 +382,8 @@ const BeautifulDrawingOfBorzoic = ({
colorIndex: number;
setColorIndex: (newIndex: number) => void;
}) => {
const { colorMode } = useColorMode();
return (
<Box
position="relative"
@@ -398,8 +405,14 @@ const BeautifulDrawingOfBorzoic = ({
top="0"
left="0"
filter={getFilters(COLOR_OPTIONS[colorIndex][type === "girl" ? 0 : 1])}
alt=""
/>
<Image
src={`/layout/new_${type}_${colorMode}.png`}
maxW={80}
position="absolute"
alt=""
/>
<Image src={`/layout/new_${type}.png`} maxW={80} position="absolute" />
</Box>
);
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 728 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 598 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 KiB