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

@@ -133,7 +133,7 @@ export function Cascader(props: CascaderProps) {
const MenuPaper = styled('div')(({ theme }) => ({
fontFamily: 'PingFang SC',
background: '#FFF',
boxShadow: '0px 1px 10px rgba(152, 172, 189, 0.6)',
boxShadow: theme.affine.shadows.shadowSxDownLg,
borderRadius: '10px 0px 10px 10px',
color: '#4C6275',
fontWeight: '400',

View File

@@ -225,7 +225,7 @@ export const Theme = {
},
shadows: {
none: 'none',
shadowSxDownLg: '0px 1px 10px rgba(152, 172, 189, 0.6)',
shadowSxDownLg: '0px 1px 5px rgba(152, 172, 189, 0.2)',
},
border: ['none'],
spacing: {