mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: fix color (#2083)
Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
@@ -5,7 +5,7 @@ export const StyledShortcutsModal = styled('div')(({ theme }) => ({
|
|||||||
height: '74vh',
|
height: '74vh',
|
||||||
paddingBottom: '28px',
|
paddingBottom: '28px',
|
||||||
backgroundColor: 'var(--affine-white)',
|
backgroundColor: 'var(--affine-white)',
|
||||||
boxShadow: 'var(--affine-text-popover-shadow)',
|
boxShadow: 'var(--affine-popover-shadow)',
|
||||||
borderRadius: `var(--affine-popover-radius) 0 var(--affine-popover-radius) var(--affine-popover-radius)`,
|
borderRadius: `var(--affine-popover-radius) 0 var(--affine-popover-radius) var(--affine-popover-radius)`,
|
||||||
overflow: 'auto',
|
overflow: 'auto',
|
||||||
boxRadius: '10px',
|
boxRadius: '10px',
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export const StyledMenuWrapper = styled(StyledPopperContainer)<{
|
|||||||
padding: '8px 4px',
|
padding: '8px 4px',
|
||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
backgroundColor: 'var(--affine-white)',
|
backgroundColor: 'var(--affine-white)',
|
||||||
boxShadow: 'var(--affine-text-popover-shadow)',
|
boxShadow: 'var(--affine-popover-shadow)',
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -6,10 +6,10 @@ import StyledPopperContainer from '../shared/Container';
|
|||||||
const StyledTooltip = styled(StyledPopperContainer)(({ theme }) => {
|
const StyledTooltip = styled(StyledPopperContainer)(({ theme }) => {
|
||||||
return {
|
return {
|
||||||
maxWidth: '320px',
|
maxWidth: '320px',
|
||||||
boxShadow: 'var(--affine-text-popover-shadow)',
|
boxShadow: 'var(--affine-popover-shadow)',
|
||||||
padding: '4px 12px',
|
padding: '4px 12px',
|
||||||
backgroundColor: 'var(--affine-tooltip)',
|
backgroundColor: 'var(--affine-tooltip)',
|
||||||
color: '#fff',
|
color: 'var(--affine-white)',
|
||||||
fontSize: 'var(--affine-font-sm)',
|
fontSize: 'var(--affine-font-sm)',
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user