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

@ -15,6 +15,7 @@ import {
SkeletonText,
SkeletonCircle,
WrapItem,
useColorModeValue,
} from '@chakra-ui/react'
import { FolderIcon, MoreVerticalIcon } from '@/components/icons'
import { ConfirmModal } from '@/components/ConfirmModal'
@ -118,7 +119,9 @@ export const FolderButton = ({
onSubmit={onRenameSubmit}
>
<EditablePreview
_hover={{ bgColor: 'gray.300' }}
_hover={{
bg: useColorModeValue('gray.100', 'gray.700'),
}}
px="2"
textAlign="center"
/>

View File

@ -102,7 +102,6 @@ export const TypebotButton = ({
display="flex"
flexDir="column"
variant="outline"
color="gray.800"
w="225px"
h="270px"
mr={{ sm: 6 }}