TagSpaces is an offline, open source, document manager with tagging support
parametrizing color resizer
Ilian Sapundshievce9e633189e2
diff --git a/app/components/EntryContainer.js b/app/components/EntryContainer.jsindex 4fb6fef28..227657050 100644--- a/app/components/EntryContainer.js+++ b/app/components/EntryContainer.js@@ -116,7 +116,7 @@ const styles = theme => ({display: 'flex',flexDirection: 'row',justifyContent: 'flex-start',- borderBottom: '1px solid lightgray'+ borderBottom: '1px solid ' + theme.palette.secondary['200']},flexLeft: {flexDirection: 'row',@@ -814,6 +814,7 @@ class EntryContainer extends React.Component<Props, State> {</a><SplitPanesplit="horizontal"+ resizerStyle={{ backgroundColor: this.props.theme.palette.secondary['200'] }}size={(currentEntry && currentEntry.isFile) ? this.state.entryPropertiesSplitSize : '100%'}minSize={(currentEntry && currentEntry.isFile) ? defaultSplitSize : '100%'}maxSize={(currentEntry && currentEntry.isFile) ? fullSplitSize : '100%'}@@ -973,5 +974,5 @@ function mapActionCreatorsToProps(dispatch) {}export default connect(mapStateToProps, mapActionCreatorsToProps)(- withStyles(styles)(EntryContainer)+ withStyles(styles, { withTheme: true })(EntryContainer));diff --git a/app/components/VerticalNavigation.js b/app/components/VerticalNavigation.jsindex 297bc38c1..f99805f4c 100644--- a/app/components/VerticalNavigation.js+++ b/app/components/VerticalNavigation.js@@ -251,7 +251,13 @@ class VerticalNavigation extends React.Component<Props, State> {chooseDirectoryPath={this.chooseDirectoryPath}selectedDirectoryPath={this.state.selectedDirectoryPath || this.props.currentDirectory}/>- <SplitPane split="vertical" minSize={44} maxSize={44} defaultSize={44}>+ <SplitPane+ split="vertical"+ minSize={44}+ maxSize={44}+ defaultSize={44}+ resizerStyle={{ backgroundColor: this.props.theme.palette.secondary['200'] }}+ ><div style={this.styles.panel}><IconButtonclassName={style.verticalNavButton}diff --git a/app/containers/App.js b/app/containers/App.jsindex 5df6b7c09..7df80fa2b 100644--- a/app/containers/App.js+++ b/app/containers/App.js@@ -39,7 +39,7 @@ const lightTheme = createMuiTheme({palette: {type: 'light', // Switching the dark mode on is a single property value change.primary: green,- secondary: { main: '#cccccc', 200: '#555' }+ secondary: { main: '#cccccc', 200: '#ddd' }},typography: {useNextVariants: true,@@ -50,7 +50,7 @@ const darkTheme = createMuiTheme({palette: {type: 'dark',primary: purple,- secondary: { main: '#555', 200: '#222' }+ secondary: { main: '#555', 200: '#777' }},typography: {useNextVariants: true,diff --git a/app/perspectives/grid-perspective/src/index.js b/app/perspectives/grid-perspective/src/index.jsindex 44635c4f6..70ececf45 100644--- a/app/perspectives/grid-perspective/src/index.js+++ b/app/perspectives/grid-perspective/src/index.js@@ -207,7 +207,7 @@ const styles = theme => ({minHeight: 40,height: 53,backgroundColor: theme.palette.background.default,- borderBottom: '1px solid lightgray',+ borderBottom: '1px solid ' + theme.palette.secondary['200'],width: '100%'}});