fix: lighter box shadow

This commit is contained in:
alt0
2022-08-04 17:29:51 +08:00
parent a495ebb7a2
commit 37a7e36c45
11 changed files with 76 additions and 75 deletions

View File

@@ -69,7 +69,7 @@ const GroupContainer = styled('div')<{ isSelect?: boolean }>(
}
: {
'&:hover': {
boxShadow: '0px 1px 10px rgb(152 172 189 / 60%)',
boxShadow: theme.affine.shadows.shadowSxDownLg,
},
}),
})

View File

@@ -2,11 +2,11 @@ import { styled } from '@toeverything/components/ui';
import type { ComponentPropsWithRef, MouseEvent } from 'react';
import { forwardRef } from 'react';
const StyledPanel = styled('div')(() => ({
const StyledPanel = styled('div')(({ theme }) => ({
position: 'absolute',
top: 50,
background: '#FFFFFF',
boxShadow: '0px 1px 10px rgba(152, 172, 189, 0.6)',
boxShadow: theme.affine.shadows.shadowSxDownLg,
borderRadius: 10,
padding: '12px 24px',
}));