fix: rename shadowSxDownLg -> shadow1

This commit is contained in:
alt0
2022-08-04 17:47:09 +08:00
parent 37a7e36c45
commit ce5a523b12
15 changed files with 18 additions and 18 deletions

View File

@@ -64,7 +64,7 @@ const StyledContainerForAddCommentContainer = styled('div')(({ theme }) => {
zIndex: 1,
display: 'flex',
borderRadius: theme.affine.shape.borderRadius,
boxShadow: theme.affine.shadows.shadowSxDownLg,
boxShadow: theme.affine.shadows.shadow1,
backgroundColor: theme.affine.palette.white,
};
});

View File

@@ -31,7 +31,7 @@ const RootContainer = styled('div')(({ theme }) => {
width: 352,
maxHeight: 525,
borderRadius: '10px',
boxShadow: theme.affine.shadows.shadowSxDownLg,
boxShadow: theme.affine.shadows.shadow1,
backgroundColor: '#fff',
padding: '8px 4px',
};

View File

@@ -82,6 +82,6 @@ const ToolbarContainer = styled('div')(({ theme }) => ({
alignItems: 'center',
padding: '0 12px',
borderRadius: '10px',
boxShadow: theme.affine.shadows.shadowSxDownLg,
boxShadow: theme.affine.shadows.shadow1,
backgroundColor: '#fff',
}));

View File

@@ -179,7 +179,7 @@ const RootContainer = styled('div')(({ theme }) => ({
zIndex: 1,
maxHeight: '525px',
borderRadius: '10px',
boxShadow: theme.affine.shadows.shadowSxDownLg,
boxShadow: theme.affine.shadows.shadow1,
backgroundColor: '#fff',
padding: '8px 4px',
}));

View File

@@ -108,7 +108,7 @@ export const Search = (props: SearchProps) => {
const SearchInput = styled('input')(({ theme }) => ({
margin: '0.5em',
backgroundColor: 'white',
boxShadow: theme.affine.shadows.shadowSxDownLg,
boxShadow: theme.affine.shadows.shadow1,
padding: '16px 32px',
borderRadius: '10px',
}));
@@ -116,7 +116,7 @@ const SearchInput = styled('input')(({ theme }) => ({
const ResultContainer = styled(MuiBox)(({ theme }) => ({
margin: '0.5em',
backgroundColor: 'white',
boxShadow: theme.affine.shadows.shadowSxDownLg,
boxShadow: theme.affine.shadows.shadow1,
padding: '16px 32px',
borderRadius: '10px',
transitionProperty: 'max-height',