mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-09 04:36:02 -05:00
Demo drawings outlined
This commit is contained in:
@@ -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 |
BIN
public/layout/new_boy_dark.png
Normal file
BIN
public/layout/new_boy_dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 766 KiB |
BIN
public/layout/new_boy_light.png
Normal file
BIN
public/layout/new_boy_light.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 728 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 598 KiB |
BIN
public/layout/new_girl_dark.png
Normal file
BIN
public/layout/new_girl_dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 635 KiB |
BIN
public/layout/new_girl_light.png
Normal file
BIN
public/layout/new_girl_light.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 618 KiB |
Reference in New Issue
Block a user