chore: fix color (#2083)

Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
Flrande
2023-04-25 00:49:34 +08:00
committed by GitHub
parent c95b8e9d71
commit b73e9189ef
3 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ export const StyledMenuWrapper = styled(StyledPopperContainer)<{
padding: '8px 4px',
fontSize: '14px',
backgroundColor: 'var(--affine-white)',
boxShadow: 'var(--affine-text-popover-shadow)',
boxShadow: 'var(--affine-popover-shadow)',
};
});

View File

@@ -6,10 +6,10 @@ import StyledPopperContainer from '../shared/Container';
const StyledTooltip = styled(StyledPopperContainer)(({ theme }) => {
return {
maxWidth: '320px',
boxShadow: 'var(--affine-text-popover-shadow)',
boxShadow: 'var(--affine-popover-shadow)',
padding: '4px 12px',
backgroundColor: 'var(--affine-tooltip)',
color: '#fff',
color: 'var(--affine-white)',
fontSize: 'var(--affine-font-sm)',
};
});