Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: fix issue with hovering toggle buttons

Ilian Sapundshiev5b75be457651
diff --git a/src/renderer/components/TsToggleButton.tsx b/src/renderer/components/TsToggleButton.tsx
index 6b467d3d9..5089cbe05 100644
--- a/src/renderer/components/TsToggleButton.tsx
+++ b/src/renderer/components/TsToggleButton.tsx
@@ -51,15 +51,14 @@ function TsToggleButton(props: TSToggleButtonProps) {
// fontWeight: selected ? 'bold' : 'normal',
fontWeight: 'normal',
'&:hover': {
- backgroundColor: alpha(theme.palette.background.default, 0.9),
+ backgroundColor: theme.palette.action.hover,
},
'&.Mui-selected': {
- // color: theme.palette.secondary.main,
+ color: theme.palette.primary.main,
backgroundColor: alpha(theme.palette.background.default, 0.9),
},
'&.Mui-selected:hover': {
- // color: theme.palette.secondary.main,
- backgroundColor: alpha(theme.palette.background.default, 0.9),
+ backgroundColor: theme.palette.action.hover,
},
}}
>