Skip to content

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

fix: dark mode in keybinding settings

Ilian Sapundshiev20f642ca7f46
diff --git a/app/components/dialogs/settings/SettingsKeyBindings.tsx b/app/components/dialogs/settings/SettingsKeyBindings.tsx
index 7765d6e94..8c8de0f12 100644
--- a/app/components/dialogs/settings/SettingsKeyBindings.tsx
+++ b/app/components/dialogs/settings/SettingsKeyBindings.tsx
@@ -35,16 +35,9 @@ import {
import DefaultSettings from '-/reducers/settings-default';
const styles: any = (theme: any) => ({
- root: {
- background: theme.palette.background.paper
- },
keyBinding: {
marginTop: 10,
marginBottom: 10
- },
- listItem: {
- paddingLeft: 0,
- paddingRight: 0
}
});
@@ -66,7 +59,7 @@ function SettingsKeyBindings(props: Props) {
} = props;
return (
<form className={classes.root} noValidate autoComplete="off">
- <ListItem className={classes.listItem}>
+ <ListItem style={{ paddingLeft: 0, paddingRight: 0 }}>
<ListItemText primary={i18n.t('core:enableGlobalKeyboardShortcuts')} />
<Switch
onClick={() => {
diff --git a/package-lock.json b/package-lock.json
index 58ca60181..1b93b50b1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -19,7 +19,7 @@
"@mui/lab": "^5.0.0-alpha.92",
"@mui/material": "^5.9.2",
"@mui/styles": "^5.9.2",
- "@tagspaces/tagspaces-md": "2.0.33",
+ "@tagspaces/tagspaces-md": "2.0.34",
"@tagspaces/tagspaces-platforms": "2.0.31",
"aws-amplify": "^4.3.8",
"aws-sdk": "^2.1036.0",
@@ -12979,9 +12979,9 @@
}
},
"node_modules/@tagspaces/tagspaces-md": {
- "version": "2.0.33",
- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-2.0.33.tgz",
- "integrity": "sha512-A63+rOEk4I4/qo2j8j5djH5dnoYgRyzLMCtCJuGIdMRi0Is1dXCP8nKDO85YIyG+EsSKsKXOwrltj5eGN/pzvA==",
+ "version": "2.0.34",
+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-2.0.34.tgz",
+ "integrity": "sha512-QjkGNL8UtIj/6VMmSMS0Oy9bHSWwaJIUtlU9BHQqkKgItYz3PV9ISYj9Jvgv/sPaeA1y57qaNfBuA/FcvSeEeA==",
"dependencies": {
"@codemirror/autocomplete": "^6.0.0",
"@codemirror/commands": "^6.0.0",
@@ -58632,9 +58632,9 @@
}
},
"@tagspaces/tagspaces-md": {
- "version": "2.0.33",
- "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-2.0.33.tgz",
- "integrity": "sha512-A63+rOEk4I4/qo2j8j5djH5dnoYgRyzLMCtCJuGIdMRi0Is1dXCP8nKDO85YIyG+EsSKsKXOwrltj5eGN/pzvA==",
+ "version": "2.0.34",
+ "resolved": "https://registry.npmjs.org/@tagspaces/tagspaces-md/-/tagspaces-md-2.0.34.tgz",
+ "integrity": "sha512-QjkGNL8UtIj/6VMmSMS0Oy9bHSWwaJIUtlU9BHQqkKgItYz3PV9ISYj9Jvgv/sPaeA1y57qaNfBuA/FcvSeEeA==",
"requires": {
"@codemirror/autocomplete": "^6.0.0",
"@codemirror/commands": "^6.0.0",