2
0

Add dark mode (#191)

Closes #189
This commit is contained in:
Baptiste Arnaud
2022-12-20 16:55:43 +01:00
committed by GitHub
parent 054cbb3585
commit 3394fa5e0a
77 changed files with 1782 additions and 601 deletions

View File

@ -1,4 +1,4 @@
import { Flex, FlexProps } from '@chakra-ui/react'
import { Flex, FlexProps, useColorModeValue } from '@chakra-ui/react'
import { Item } from 'models'
import React, { ReactNode } from 'react'
@ -12,9 +12,9 @@ export const ItemNodeOverlay = ({ item, ...props }: Props) => {
px="4"
py="2"
rounded="md"
bgColor="white"
bgColor={useColorModeValue('white', 'gray.850')}
borderWidth="1px"
borderColor={'gray.300'}
borderColor={useColorModeValue('gray.200', 'gray.700')}
w="212px"
pointerEvents="none"
shadow="lg"