TagSpaces is an offline, open source, document manager with tagging support
migrating to new attributes for material-ui
Ilian Sapundshiev2456f67efb4d
diff --git a/app/components/LocationManager.js b/app/components/LocationManager.jsindex 205fd8f3b..dea97848c 100644--- a/app/components/LocationManager.js+++ b/app/components/LocationManager.js@@ -310,7 +310,7 @@ class LocationManager extends React.Component<Props, State> {return (<div className={classes.panel} style={this.props.style}><div className={classes.toolbar}>- <Typography className={classes.panelTitle} type="subheading">+ <Typography className={classes.panelTitle} type="subtitle1">{i18n.t('core:locationManager')}</Typography></div>diff --git a/app/components/PerspectiveManager.js b/app/components/PerspectiveManager.jsindex 87ae50eb4..369b3c29b 100644--- a/app/components/PerspectiveManager.js+++ b/app/components/PerspectiveManager.js@@ -37,7 +37,7 @@ class PerspectiveManager extends React.Component<Props, State> {return (<div className={classes.panel} style={this.props.style}>- <Typography className={classes.panelTitle} type="subheading">Perspectives</Typography>+ <Typography className={classes.panelTitle} type="subtitle1">Perspectives</Typography></div>);}diff --git a/app/components/Search.js b/app/components/Search.jsindex aa0dcf80e..eeefd55d9 100644--- a/app/components/Search.js+++ b/app/components/Search.js@@ -295,7 +295,7 @@ class Search extends React.Component<Props, State> {<Buttondisabled={indexing}id="searchButton"- variant="raised"+ variant="contained"size="small"color="primary"onClick={this.executeSearch}diff --git a/app/components/TagLibrary.js b/app/components/TagLibrary.jsindex e9eb06b54..9c4222a8b 100644--- a/app/components/TagLibrary.js+++ b/app/components/TagLibrary.js@@ -278,7 +278,7 @@ class TagLibrary extends React.Component<Props, State> {return (<div className={classes.panel} style={this.props.style}><div className={classes.toolbar}>- <Typography className={classes.panelTitle} type="subheading">+ <Typography className={classes.panelTitle} type="subtitle1">{i18n.t('core:tagLibrary')}</Typography><IconButtondiff --git a/app/components/dialogs/AboutDialog.js b/app/components/dialogs/AboutDialog.jsindex 994498084..20e337c67 100644--- a/app/components/dialogs/AboutDialog.js+++ b/app/components/dialogs/AboutDialog.js@@ -126,11 +126,11 @@ class AboutDialog extends React.Component<Props, State> {src={LogoIcon}style={{ float: 'left', marginRight: 10, width: 120, height: 120 }}/>- <Typography variant="subheading" title={'Build on: ' + versionMeta.buildTime}>Version: {versionMeta.version} / BuildID: {buildID}</Typography>+ <Typography variant="subtitle1" title={'Build on: ' + versionMeta.buildTime}>Version: {versionMeta.version} / BuildID: {buildID}</Typography><br /><Typographyid="aboutContent"- variant="body2"+ variant="body1"dangerouslySetInnerHTML={{ __html: marked(aboutMDContent) }}/></DialogContent>diff --git a/app/containers/App.js b/app/containers/App.jsindex 0e9b6d47b..dcbbcf331 100644--- a/app/containers/App.js+++ b/app/containers/App.js@@ -40,6 +40,9 @@ const lightTheme = createMuiTheme({type: 'light', // Switching the dark mode on is a single property value change.primary: green,secondary: green+ },+ typography: {+ useNextVariants: true,}});@@ -47,6 +50,9 @@ const darkTheme = createMuiTheme({palette: {type: 'dark',primary: purple,+ },+ typography: {+ useNextVariants: true,}});