fix: update sidebar shadow (#323)

This commit is contained in:
zuomeng wang 2022-08-24 15:38:58 +08:00 committed by GitHub
parent 617e9a0612
commit dad12b2a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -175,7 +175,7 @@ const WorkspaceSidebar = styled('div')(({ theme }) => ({
width: 300,
minWidth: 300,
borderRadius: '0px 10px 10px 0px',
boxShadow: theme.affine.shadows.shadow1,
boxShadow: theme.affine.shadows.shadow2,
backgroundColor: '#FFFFFF',
transitionProperty: 'left',
transitionDuration: '0.35s',

View File

@ -233,7 +233,10 @@ export const Theme = {
},
shadows: {
none: 'none',
shadow1: '0px 1px 5px rgba(152, 172, 189, 0.2)',
shadow1:
'0px 1px 10px -6px rgba(24, 39, 75, 0.08), 0px 3px 16px -6px rgba(24, 39, 75, 0.04)',
shadow2:
'0px 6px 16px -8px rgba(0,0,0,0.08), 0px 9px 14px 0px rgba(0,0,0,0.05), 0px 12px 24px 16px rgba(0,0,0,0.03)',
},
border: ['none'],
spacing: {