@flozy/editor 4.6.4 → 4.6.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ const Divider = props => {
|
|
54
54
|
children: /*#__PURE__*/_jsx(IconButton, {
|
55
55
|
size: "small",
|
56
56
|
sx: {
|
57
|
-
background: theme?.palette?.greyshades?.light8,
|
57
|
+
background: theme?.palette?.type === 'dark' ? theme?.palette?.greyshades?.light8 : theme?.palette?.containers?.card,
|
58
58
|
border: theme?.palette?.type === 'dark' ? '1px solid #E4E8EB33' : 'none',
|
59
59
|
boxShadow: '0px 0px 4px 0px #00000040',
|
60
60
|
borderRadius: '50%',
|
@@ -62,7 +62,7 @@ const Divider = props => {
|
|
62
62
|
stroke: theme?.palette?.text?.secondary3
|
63
63
|
},
|
64
64
|
'&.MuiIconButton-root:hover': {
|
65
|
-
background: `${theme?.palette?.greyshades?.light8} !important`
|
65
|
+
background: theme?.palette?.type === 'dark' ? `${theme?.palette?.greyshades?.light8} !important` : `${theme?.palette?.containers?.card} !important`
|
66
66
|
}
|
67
67
|
},
|
68
68
|
onClick: onSettings,
|