Skip to content

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

chore: fix toggle buttons colors

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