TagSpaces is an offline, open source, document manager with tagging support
chore: unifying the look&feel of buttons
Ilian Sapundshiev00e1be8d9795
diff --git a/src/renderer/components/dialogs/components/SettingsAdvanced.tsx b/src/renderer/components/dialogs/components/SettingsAdvanced.tsxindex 3fdf536e8..bf8e723ca 100644--- a/src/renderer/components/dialogs/components/SettingsAdvanced.tsx+++ b/src/renderer/components/dialogs/components/SettingsAdvanced.tsx@@ -17,7 +17,7 @@*/import AppConfig from '-/AppConfig';-import { DeleteIcon } from '-/components/CommonIcons';+import { CreateFileIcon, DeleteIcon } from '-/components/CommonIcons';import { ProLabel } from '-/components/HelperComponents';import InfoIcon from '-/components/InfoIcon';import TooltipTS from '-/components/Tooltip';@@ -139,6 +139,7 @@ function SettingsAdvanced(props: Props) {<TsButtondisabled={!Pro}onClick={(event) => editWorkSpacesClick(event)}+ startIcon={<CreateFileIcon />}>{t('createWorkspace')}</TsButton>@@ -309,6 +310,7 @@ function SettingsAdvanced(props: Props) {<ListItemText primary={t('core:tileServerTitle')} /><TsButtononClick={(event) => handleEditTileServerClick(event, {}, true)}+ startIcon={<CreateFileIcon />}>{t('tileServerDialogAdd')}</TsButton>diff --git a/src/renderer/components/dialogs/components/SettingsFileTypes.tsx b/src/renderer/components/dialogs/components/SettingsFileTypes.tsxindex df4bb6095..15da0277e 100644--- a/src/renderer/components/dialogs/components/SettingsFileTypes.tsx+++ b/src/renderer/components/dialogs/components/SettingsFileTypes.tsx@@ -17,7 +17,11 @@*/import AppConfig from '-/AppConfig';-import { RemoveIcon } from '-/components/CommonIcons';+import {+ CreateFileIcon,+ ReloadIcon,+ RemoveIcon,+} from '-/components/CommonIcons';import TransparentBackground from '-/components/TransparentBackground';import TsButton from '-/components/TsButton';import TsIconButton from '-/components/TsIconButton';@@ -483,6 +487,7 @@ function SettingsFileTypes() {marginTop: AppConfig.defaultSpaceBetweenButtons,marginBottom: AppConfig.defaultSpaceBetweenButtons,}}+ startIcon={<CreateFileIcon />}>{t('core:addNewFileType')}</TsButton>@@ -494,9 +499,10 @@ function SettingsFileTypes() {items.current = defaultSettings.supportedFileTypes;dispatch(SettingsActions.setSupportedFileTypes(supportedFileTypes));}}- color="secondary"+ variant="text"+ startIcon={<ReloadIcon />}sx={{- color: 'red',+ // color: 'red',margin: AppConfig.defaultSpaceBetweenButtons,}}>