A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
feat:nav bar color tag opt.
alihamuh86c2eebb1b92
diff --git a/apps/web/src/app.js b/apps/web/src/app.jsindex 210a167c8..ab94a9033 100644--- a/apps/web/src/app.js+++ b/apps/web/src/app.js@@ -32,6 +32,7 @@ const NavMenuItem = props => {size={25}strokeWidth={props.selected ? 2 : 1.3}style={{ marginRight: 3 }}+ fill={props.item.color || "transparent"}/>{/* <Text sx={{ fontSize: 15, marginLeft: 1 }}>{props.item.title}</Text> */}</Button>diff --git a/apps/web/src/navigation/index.js b/apps/web/src/navigation/index.jsindex 87cf9401f..8fd9136ef 100644--- a/apps/web/src/navigation/index.js+++ b/apps/web/src/navigation/index.js@@ -9,6 +9,58 @@ import * as Icon from "react-feather";import { ThemeProvider } from "../utils/theme";import Favorites from "../views/Favorites";+const colorRoutes = {+ red: {+ key: "red",+ title: "red",+ component: undefined,+ icon: Icon.Circle,+ color: "#ed2d37"+ },+ orange: {+ key: "orange",+ title: "orange",+ component: undefined,+ icon: Icon.Circle,+ color: "#ec6e05"+ },+ yellow: {+ key: "yellow",+ title: "yellow",+ component: undefined,+ icon: Icon.Circle,+ color: "yellow"+ },+ green: {+ key: "green",+ title: "green",+ component: undefined,+ icon: Icon.Circle,+ color: "green"+ },+ blue: {+ key: "blue",+ title: "blue",+ component: undefined,+ icon: Icon.Circle,+ color: "blue"+ },+ purple: {+ key: "purple",+ title: "purple",+ component: undefined,+ icon: Icon.Circle,+ color: "purple"+ },+ gray: {+ key: "gray",+ title: "gray",+ component: undefined,+ icon: Icon.Circle,+ color: "gray"+ }+};+export const routes = {home: {key: "home",@@ -40,7 +92,8 @@ export const routes = {component: Settings,icon: Icon.Settings,bottom: true- }+ },+ ...colorRoutes};const history = {};diff --git a/apps/web/src/views/Properties.js b/apps/web/src/views/Properties.jsindex 5fcf2f6e4..497573cff 100644--- a/apps/web/src/views/Properties.js+++ b/apps/web/src/views/Properties.js@@ -9,7 +9,7 @@ function Properties() {<Flexsx={{ borderLeft: "1px solid", borderColor: "border" }}flexDirection="column"- bg="#1790F307"+ bg="shade"flex="1 1 auto"px={2}py={2}diff --git a/apps/web/src/views/Settings.js b/apps/web/src/views/Settings.jsindex aa7b01354..389b6588a 100644--- a/apps/web/src/views/Settings.js+++ b/apps/web/src/views/Settings.js@@ -11,9 +11,11 @@ function Settings() {return (<Flex flexDirection="column" flex="1 1 auto"><Flex flexDirection="column" flex="1 1 auto">- <Account />- {/* <Button variant="setting">General</Button>- <Button variant="setting" onClick={()=>{}}>Account</Button>+ {/* <Account /> */}+ <Button variant="setting">General</Button>+ <Button variant="setting" onClick={() => {}}>+ Account+ </Button><Boxsx={{borderLeft: "0px Solid",@@ -74,7 +76,7 @@ function Settings() {</Box><Button variant="setting">Terms of Service</Button><Button variant="setting">Privacy Policy</Button>- <Button variant="setting">About</Button> */}+ <Button variant="setting">About</Button></Flex></Flex>);