fix: error initial style when first in dark mode (#1543)

This commit is contained in:
Qi
2023-03-12 19:51:19 +08:00
committed by GitHub
parent 2502ff7e32
commit 4e0fd93a28
3 changed files with 5 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ export const StyledMenuItem = styled('button')<{
cursor: isDir ? 'pointer' : '',
position: 'relative',
backgroundColor: 'transparent',
color: theme.colors.textColor,
':hover': {
color: theme.colors.primaryColor,
backgroundColor: theme.colors.hoverBackground,