Skip to content

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

change font to Noto

thecodrred02fca81946
diff --git a/apps/web/src/components/editor/editor.css b/apps/web/src/components/editor/editor.css
index fbb9b49bb..9299f3ed3 100644
--- a/apps/web/src/components/editor/editor.css
+++ b/apps/web/src/components/editor/editor.css
@@ -33,14 +33,3 @@
border-bottom: 1px solid #f0f0f0 !important;
border-top: 1px solid #f0f0f0 !important;
}
-
-.editor-title {
- border: none;
- font-family: Quicksand, sans-serif;
- font-weight: 700;
- padding: 12px 15px;
- font-size: 42px;
-}
-.editor-title:focus {
- outline: none;
-}
diff --git a/apps/web/src/components/editor/index.js b/apps/web/src/components/editor/index.js
index 1ff09a2c8..b1356e842 100644
--- a/apps/web/src/components/editor/index.js
+++ b/apps/web/src/components/editor/index.js
@@ -145,7 +145,7 @@ const Editor = props => {
<Input
ref={titleRef}
placeholder="Untitled"
- fontFamily="body"
+ fontFamily="heading"
fontWeight="heading"
fontSize="heading"
display={["none", "flex", "flex"]}
diff --git a/apps/web/src/components/list-item/index.js b/apps/web/src/components/list-item/index.js
index 70ccd1c45..4fb3ca44c 100644
--- a/apps/web/src/components/list-item/index.js
+++ b/apps/web/src/components/list-item/index.js
@@ -27,7 +27,7 @@ const ListItem = props => (
>
<Box>
<Flex flexDirection="row" justifyContent="space-between">
- <Text fontFamily="body" fontSize="title" fontWeight="bold">
+ <Text fontFamily="heading" fontSize="title" fontWeight="bold">
{props.title}
</Text>
</Flex>
diff --git a/apps/web/src/index.css b/apps/web/src/index.css
index 0631bbcbf..de4a9c079 100644
--- a/apps/web/src/index.css
+++ b/apps/web/src/index.css
@@ -1,4 +1,5 @@
-@import url("https://fonts.googleapis.com/css?family=Quicksand:300,400,500,600,700&display=swap");
+@import url("https://fonts.googleapis.com/css?family=Noto+Sans:400,700|Noto+Serif:400,700&display=swap");
+
:root,
body,
#root {
@@ -8,8 +9,8 @@ body,
}
body {
- font-family: Quicksand, sans-serif;
- font-weight: 500;
+ font-family: "Noto Sans", sans-serif;
+ font-weight: normal;
font-size: 14px;
}
diff --git a/apps/web/src/theme.js b/apps/web/src/theme.js
index 62c5a9f15..ee9a923b4 100644
--- a/apps/web/src/theme.js
+++ b/apps/web/src/theme.js
@@ -47,13 +47,13 @@ export default {
menu: 14
},
fontWeights: {
- body: 500,
- heading: 700,
- bold: 700
+ body: 400,
+ heading: 800,
+ bold: 800
},
fonts: {
- body: "Quicksand, sans-serif",
- heading: "Quicksand, sans-serif"
+ body: "Noto Sans, sans-serif",
+ heading: "Noto Serif, serif"
},
sizes: {
full: "100%"
@@ -89,13 +89,13 @@ export default {
},
text: {
heading: {
- fontFamily: "body",
+ fontFamily: "heading",
fontWeight: "heading",
fontSize: "heading",
color: "text"
},
title: {
- fontFamily: "body",
+ fontFamily: "heading",
fontWeight: "bold",
fontSize: "title"
},