mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
Merge pull request #91 from toeverything/fix/lighter-box-shadow
fix: lighter box shadow
This commit is contained in:
@@ -69,7 +69,7 @@ const GroupContainer = styled('div')<{ isSelect?: boolean }>(
|
||||
}
|
||||
: {
|
||||
'&:hover': {
|
||||
boxShadow: '0px 1px 10px rgb(152 172 189 / 60%)',
|
||||
boxShadow: theme.affine.shadows.shadow1,
|
||||
},
|
||||
}),
|
||||
})
|
||||
|
||||
@@ -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.shadow1,
|
||||
borderRadius: 10,
|
||||
padding: '12px 24px',
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user