TagSpaces is an offline, open source, document manager with tagging support
added a custom logo and theme
Ilian Sapundshiev06b709c2f49c
diff --git a/app/assets/images/custom-logo.svg b/app/assets/images/custom-logo.svgnew file mode 100644index 000000000..904e2581b--- /dev/null+++ b/app/assets/images/custom-logo.svg@@ -0,0 +1,81 @@+<?xml version="1.0" encoding="UTF-8" standalone="no"?>+<svg+ xmlns:dc="http://purl.org/dc/elements/1.1/"+ xmlns:cc="http://creativecommons.org/ns#"+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"+ xmlns:svg="http://www.w3.org/2000/svg"+ xmlns="http://www.w3.org/2000/svg"+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"+ version="1.1"+ id="svg5321"+ viewBox="0 0 675 130"+ height="130"+ width="675"+ sodipodi:docname="custom-logo.svg"+ inkscape:version="0.92.4 (ca053d0, 2019-01-16)">+ <sodipodi:namedview+ pagecolor="#ffffff"+ bordercolor="#666666"+ borderopacity="1"+ objecttolerance="10"+ gridtolerance="10"+ guidetolerance="10"+ inkscape:pageopacity="0"+ inkscape:pageshadow="2"+ inkscape:window-width="1981"+ inkscape:window-height="1097"+ id="namedview15"+ showgrid="false"+ inkscape:zoom="1.0542857"+ inkscape:cx="175"+ inkscape:cy="65.948509"+ inkscape:window-x="67"+ inkscape:window-y="27"+ inkscape:window-maximized="1"+ inkscape:current-layer="svg5321" />+ <defs+ id="defs5323" />+ <metadata+ id="metadata5326">+ <rdf:RDF>+ <cc:Work+ rdf:about="">+ <dc:format>image/svg+xml</dc:format>+ <dc:type+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />+ <dc:title></dc:title>+ </cc:Work>+ </rdf:RDF>+ </metadata>+ <rect+ style="fill:#ffffff;fill-opacity:1;stroke:#19aeff;stroke-width:5.59298944;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"+ id="rect4525"+ width="662.38885"+ height="118.89291"+ x="6.4749527"+ y="6.5291533" />+ <path+ style="fill:#6699ff;stroke:#cbe9fa;stroke-width:6.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"+ d="M 6.4749527,125.42206 668.86383,6.5291514"+ id="path4551"+ inkscape:connector-curvature="0"+ sodipodi:nodetypes="cc" />+ <path+ style="fill:#6699ff;stroke:#cbe9fa;stroke-width:6.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"+ d="M 6.4749527,6.5291533 668.86383,125.42206"+ id="path4551-2"+ inkscape:connector-curvature="0"+ sodipodi:nodetypes="cc" />+ <text+ xml:space="preserve"+ style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"+ x="338.46042"+ y="82.964767"+ id="text4529"><tspan+ sodipodi:role="line"+ x="338.46042"+ y="82.964767"+ style="font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;font-size:53.33333206px;font-family:Ubuntu;-inkscape-font-specification:'Ubuntu Medium';text-align:center;text-anchor:middle"+ id="tspan4535">The logo of your company</tspan></text>+</svg>diff --git a/app/components/CustomLogo.js b/app/components/CustomLogo.jsindex a6d863e64..3f9974bbd 100644--- a/app/components/CustomLogo.js+++ b/app/components/CustomLogo.js@@ -23,6 +23,7 @@ import { bindActionCreators } from 'redux';import IconButton from '@material-ui/core/IconButton';import { Pro } from '../pro';import TextLogoIcon from '../assets/images/text-logo.svg';+import CustomLogoIcon from '../assets/images/custom-logo.svg';import { actions as AppActions } from '../reducers/app';class CustomLogo extends Component {@@ -34,6 +35,7 @@ class CustomLogo extends Component {onClick={this.props.toggleAboutDialog}><img style={{ height: 40 }} src={Pro ? Pro.TextLogoIcon : TextLogoIcon} alt="TagSpaces Logo" />+ {/* <img style={{ height: 40 }} src={CustomLogoIcon} alt="Custom Logo" /> */}</IconButton>);}diff --git a/app/components/VerticalNavigation.js b/app/components/VerticalNavigation.jsindex 8527e9433..db315c7c3 100644--- a/app/components/VerticalNavigation.js+++ b/app/components/VerticalNavigation.js@@ -28,8 +28,8 @@ import TagLibraryIcon from '@material-ui/icons/LocalOfferOutlined';import SearchIcon from '@material-ui/icons/SearchOutlined';import PerspectivesIcon from '@material-ui/icons/MapOutlined';import SettingsIcon from '@material-ui/icons/Settings';-import ThemingIcon from '@material-ui/icons/InvertColors'; // Palette-import UpgradeIcon from '@material-ui/icons/FlightTakeoff'; // Palette+import ThemingIcon from '@material-ui/icons/InvertColors';+import UpgradeIcon from '@material-ui/icons/FlightTakeoff';import { withTheme } from '@material-ui/core/styles';import SplitPane from 'react-split-pane';import LogoIcon from '../assets/images/icon100x100.svg';diff --git a/app/containers/App.js b/app/containers/App.jsindex 5cf772015..3c9210170 100644--- a/app/containers/App.js+++ b/app/containers/App.js@@ -75,6 +75,26 @@ const darkTheme = createMuiTheme({}});+const lightBlueTheme = createMuiTheme({+ palette: {+ type: 'light', // Switching the dark mode on is a single property value change.+ primary: {+ light: '#cbe9fa',+ main: '#19aeff',+ dark: '#19aeff',+ contrastText: '#ffffff',+ },+ secondary: {+ main: '#19aeff',+ },+ divider: '#ddd'+ // secondary: { main: '#cccccc', 200: '#ddd' }+ },+ typography: {+ useNextVariants: true,+ }+});+class App extends Component {props: {children: Object