Skip to content

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

feat: added shadow to file extension to increase readability

Ilian Sapundshiev5fd6735e7ec9
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsx
index def28f4c6..8d1dbaed4 100644
--- a/app/components/EntryContainer.tsx
+++ b/app/components/EntryContainer.tsx
@@ -113,6 +113,7 @@ const styles: any = (theme: any) => ({
color: 'white',
backgroundColor: AppConfig.defaultFileColor,
padding: '2px 5px 0px 5px',
+ textShadow: '1px 1px #8f8f8f',
minHeight: 18,
fontSize: 13,
marginLeft: 3,
diff --git a/app/perspectives/grid-perspective/components/CellContent.tsx b/app/perspectives/grid-perspective/components/CellContent.tsx
index a02a04949..ef5e51ca2 100644
--- a/app/perspectives/grid-perspective/components/CellContent.tsx
+++ b/app/perspectives/grid-perspective/components/CellContent.tsx
@@ -217,6 +217,7 @@ const CellContent = (props: Props) => {
className={classes.gridFileExtension}
style={{
backgroundColor: fsEntryColor,
+ textShadow: '1px 1px #8f8f8f',
maxWidth: fsEntry.isFile ? 50 : 100
}}
noWrap={true}