style: adjust icon button hover color (#2976)

This commit is contained in:
JimmFly
2023-07-03 16:46:16 +08:00
committed by Alex Yang
parent 1f7c1ef91e
commit 562013e3bd
2 changed files with 2 additions and 4 deletions

View File

@@ -50,7 +50,6 @@ export const StyledIconWrapper = styled('div')(() => {
transition: 'background-color 0.2s',
position: 'relative',
':hover': {
color: 'var(--affine-primary-color)',
backgroundColor: 'var(--affine-hover-color)',
},
};
@@ -74,7 +73,6 @@ export const StyledTriggerWrapper = styled('div')<{
...displayFlex('center', 'center'),
...positionAbsolute({ left: '4px', bottom: '4px' }),
':hover': {
color: 'var(--affine-primary-color)',
backgroundColor: spread ? 'var(--affine-hover-color)' : null,
},
};