TagSpaces is an offline, open source, document manager with tagging support
chore: improving ui and icons in list and grid perspectives
Ilian Sapundshievc66050ef94a3
diff --git a/app/perspectives/grid-perspective/components/CellContent.tsx b/app/perspectives/grid-perspective/components/CellContent.tsxindex 4573e0343..e6e11118c 100644--- a/app/perspectives/grid-perspective/components/CellContent.tsx+++ b/app/perspectives/grid-perspective/components/CellContent.tsx@@ -23,6 +23,7 @@ import Typography from '@mui/material/Typography';import Paper from '@mui/material/Paper';import Tooltip from '-/components/Tooltip';import FolderIcon from '@mui/icons-material/Folder';+import FolderOpenIcon from '@mui/icons-material/FolderOpen';import SelectedIcon from '@mui/icons-material/CheckBox';import UnSelectedIcon from '@mui/icons-material/CheckBoxOutlineBlank';import { bindActionCreators } from 'redux';@@ -236,7 +237,7 @@ function CellContent(props: Props) {noWrap={true}variant="button">- {fsEntry.isFile ? fsEntry.extension : i18n.t('core:folder')}+ {fsEntry.isFile ? fsEntry.extension : <FolderOpenIcon />}</Typography></Tooltip>{fsEntry.isFile && fsEntry.lmdt && (diff --git a/app/perspectives/grid-perspective/components/MainToolbar.tsx b/app/perspectives/grid-perspective/components/MainToolbar.tsxindex 06a002ee0..9a6d516f4 100644--- a/app/perspectives/grid-perspective/components/MainToolbar.tsx+++ b/app/perspectives/grid-perspective/components/MainToolbar.tsx@@ -21,8 +21,8 @@ import Toolbar from '@mui/material/Toolbar';import Tooltip from '-/components/Tooltip';import SettingsIcon from '@mui/icons-material/Settings';import IconButton from '@mui/material/IconButton';-import ParentDirIcon from '@mui/icons-material/SubdirectoryArrowLeft';-import SwapVertIcon from '@mui/icons-material/SwapVert';+import ParentDirIcon from '@mui/icons-material/DriveFolderUploadRounded';+import SortingIcon from '@mui/icons-material/SwapVerticalCircle';import TagIcon from '@mui/icons-material/LocalOffer';import SelectAllIcon from '@mui/icons-material/CheckBox';import DeSelectAllIcon from '@mui/icons-material/CheckBoxOutlineBlank';@@ -252,7 +252,7 @@ function MainToolbar(props: Props) {}}size="large">- <SwapVertIcon />+ <SortingIcon /></IconButton></Tooltip>{Pro &&diff --git a/app/services/utils-io.ts b/app/services/utils-io.tsindex 2b7e4eb02..7dac179d8 100644--- a/app/services/utils-io.ts+++ b/app/services/utils-io.ts@@ -1135,7 +1135,7 @@ export function findColorForEntry(supportedFileTypes: Array<any>): string {if (!fsEntry.isFile) {- return AppConfig.defaultFolderColor;+ return 'gray'; // AppConfig.defaultFolderColor;}if (fsEntry.extension !== undefined) {const fileType = supportedFileTypes.find(