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: change default font to Open Sans
thecodrr0094b132bc5e
diff --git a/apps/web/public/index.html b/apps/web/public/index.htmlindex 420226abe..fd7020603 100644--- a/apps/web/public/index.html+++ b/apps/web/public/index.html@@ -97,6 +97,12 @@background-color: #f7f7f7;}</style>+ <link rel="preconnect" href="https://fonts.googleapis.com" />+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />+ <link+ href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap"+ rel="stylesheet"+ /></head><body><noscript>You need to enable JavaScript to run this app.</noscript>diff --git a/apps/web/src/index.css b/apps/web/src/index.cssindex f104a7a0a..5b7f4677e 100644--- a/apps/web/src/index.css+++ b/apps/web/src/index.css@@ -20,8 +20,8 @@ body,}* {- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,- Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;+ font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",+ Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;}@keyframes fadeUp {diff --git a/apps/web/src/theme/font/index.js b/apps/web/src/theme/font/index.jsindex 9eba6929d..a08a9bbd2 100644--- a/apps/web/src/theme/font/index.js+++ b/apps/web/src/theme/font/index.js@@ -5,13 +5,14 @@ class FontFactory {return {fontSizes: new FontSizeFactory(scale),fontWeights: {+ normal: 400,body: 400,heading: 700,- bold: 700,+ bold: 600,},fonts: {- body: `-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;`,- heading: `-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;`,+ body: `Open Sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Oxygen-Sans,Ubuntu,Cantarell,sans-serif;`,+ heading: `Open Sans,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Oxygen-Sans,Ubuntu,Cantarell,sans-serif;`,},};}diff --git a/apps/web/src/theme/variants/text.js b/apps/web/src/theme/variants/text.jsindex 4760c5ac8..5c058ad74 100644--- a/apps/web/src/theme/variants/text.js+++ b/apps/web/src/theme/variants/text.js@@ -38,6 +38,7 @@ class Title {return {variant: "text.heading",fontSize: "title",+ fontWeight: "bold",};}}@@ -46,6 +47,7 @@ class Subtitle {return {variant: "text.heading",fontSize: "subtitle",+ fontWeight: "bold",};}}