Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

ui: add search & Notes section

thecodrrdb25a5366700
diff --git a/apps/web/src/Components/Editor/editor.css b/apps/web/src/Components/Editor/editor.css
index e46755fc5..5099f0895 100644
--- a/apps/web/src/Components/Editor/editor.css
+++ b/apps/web/src/Components/Editor/editor.css
@@ -36,7 +36,7 @@
.editor-title {
border: none;
font-family: Quicksand, sans-serif;
- font-weight: 500;
+ font-weight: 700;
padding: 12px 15px;
font-size: 42px;
}
diff --git a/apps/web/src/app.js b/apps/web/src/app.js
index c1c9bae5c..e7ace188a 100644
--- a/apps/web/src/app.js
+++ b/apps/web/src/app.js
@@ -37,16 +37,15 @@ const NavMenuItem = props => (
</Flex>
</Button>
);
-
+const navItems = [
+ { title: "Arkane", icon: Icon.User },
+ { title: "Home", icon: Icon.Home },
+ { title: "Notebooks", icon: Icon.Book },
+ { title: "Folders", icon: Icon.Folder },
+ { title: "Lists", icon: Icon.List },
+ { title: "Get Pro", icon: Icon.Star }
+];
function App() {
- const navItems = [
- { title: "Arkane", icon: Icon.User },
- { title: "Home", icon: Icon.Home },
- { title: "Notebooks", icon: Icon.Book },
- { title: "Folders", icon: Icon.Folder },
- { title: "Lists", icon: Icon.List },
- { title: "Get Pro", icon: Icon.Star }
- ];
const [selectedIndex, setSelectedIndex] = useState(1);
return (
<ThemeProvider theme={theme}>
@@ -62,7 +61,29 @@ function App() {
))}
</Box>
<Flex flex="1 1 auto" flexDirection="row" alignContent="stretch" px={0}>
- <Box bg="#fbfbfb" flex="1 1 auto" px={0}></Box>
+ <Box
+ bg="#fbfbfb"
+ display="flex"
+ flexDirection="column"
+ flex="1 1 auto"
+ px={3}
+ py={3}
+ >
+ <Heading fontSize="heading">Notes</Heading>
+ <input
+ placeholder="Search"
+ style={{
+ marginTop: 8,
+ borderRadius: 5,
+ borderWidth: 0,
+ padding: 13,
+ fontFamily: "Quicksand, sans-serif",
+ fontWeight: 500,
+ fontSize: 16,
+ boxShadow: "0 0 3px 0px #f0f0f0"
+ }}
+ />
+ </Box>
<Editor />
</Flex>
</Flex>
diff --git a/apps/web/src/theme.js b/apps/web/src/theme.js
index ff0162ab9..80300f6de 100644
--- a/apps/web/src/theme.js
+++ b/apps/web/src/theme.js
@@ -9,8 +9,10 @@ export default {
fontPrimary: "black",
fontSecondary: "white"
},
- fontSizes: [12, 14, 16, 20, 24, 32, 48, 64],
- spaces: [0, 5, 10, 15, 20, 25],
+ //fontSizes: [12, 14, 16, 20, 24, 32, 48, 64],
+ fontSizes: {
+ heading: 42
+ },
fontWeights: {
body: 500,
heading: 700,
@@ -23,9 +25,6 @@ export default {
sizes: {
full: "100%"
},
- borders: {
- none: 0
- },
radii: {
none: 0,
default: 10