mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
fix: error initial style when first in dark mode (#1543)
This commit is contained in:
@@ -196,7 +196,7 @@ export const StyledButton = styled('button', {
|
||||
? {
|
||||
cursor: 'not-allowed',
|
||||
pointerEvents: 'none',
|
||||
color: theme.colors.borderColor,
|
||||
color: theme.colors.disableColor,
|
||||
}
|
||||
: {}),
|
||||
transition: 'background .15s',
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user