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
monograph: fix monograph ui
Abdullah Attaa164ac67ce1b
diff --git a/apps/monograph/app/assets/fonts/Inter-Bold.ttf b/apps/monograph/app/assets/fonts/Inter-Bold.ttfnew file mode 100644index 000000000..9fb9b751eBinary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-Bold.ttf differdiff --git a/apps/monograph/app/assets/fonts/Inter-Bold.woff2 b/apps/monograph/app/assets/fonts/Inter-Bold.woff2new file mode 100644index 000000000..b9e3cb3b1Binary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-Bold.woff2 differdiff --git a/apps/monograph/app/assets/fonts/Inter-BoldItalic.ttf b/apps/monograph/app/assets/fonts/Inter-BoldItalic.ttfnew file mode 100644index 000000000..8d050001aBinary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-BoldItalic.ttf differdiff --git a/apps/monograph/app/assets/fonts/Inter-BoldItalic.woff2 b/apps/monograph/app/assets/fonts/Inter-BoldItalic.woff2new file mode 100644index 000000000..31cd05221Binary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-BoldItalic.woff2 differdiff --git a/apps/monograph/app/assets/fonts/Inter-Italic.ttf b/apps/monograph/app/assets/fonts/Inter-Italic.ttfnew file mode 100644index 000000000..e7ed211d2Binary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-Italic.ttf differdiff --git a/apps/monograph/app/assets/fonts/Inter-Italic.woff2 b/apps/monograph/app/assets/fonts/Inter-Italic.woff2new file mode 100644index 000000000..9a1ad2167Binary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-Italic.woff2 differdiff --git a/apps/monograph/app/assets/fonts/Inter-Medium.ttf b/apps/monograph/app/assets/fonts/Inter-Medium.ttfnew file mode 100644index 000000000..458cd0601Binary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-Medium.ttf differdiff --git a/apps/monograph/app/assets/fonts/Inter-Medium.woff2 b/apps/monograph/app/assets/fonts/Inter-Medium.woff2new file mode 100644index 000000000..fdfdcc699Binary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-Medium.woff2 differdiff --git a/apps/monograph/app/assets/fonts/Inter-MediumItalic.ttf b/apps/monograph/app/assets/fonts/Inter-MediumItalic.ttfnew file mode 100644index 000000000..22b898df3Binary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-MediumItalic.ttf differdiff --git a/apps/monograph/app/assets/fonts/Inter-MediumItalic.woff2 b/apps/monograph/app/assets/fonts/Inter-MediumItalic.woff2new file mode 100644index 000000000..0dc5a3068Binary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-MediumItalic.woff2 differdiff --git a/apps/monograph/app/assets/fonts/Inter-Regular.ttf b/apps/monograph/app/assets/fonts/Inter-Regular.ttfnew file mode 100644index 000000000..b7aaca8deBinary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-Regular.ttf differdiff --git a/apps/monograph/app/assets/fonts/Inter-Regular.woff2 b/apps/monograph/app/assets/fonts/Inter-Regular.woff2new file mode 100644index 000000000..2bcd222ecBinary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-Regular.woff2 differdiff --git a/apps/monograph/app/assets/fonts/Inter-SemiBold.ttf b/apps/monograph/app/assets/fonts/Inter-SemiBold.ttfnew file mode 100644index 000000000..47f8ab1d6Binary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-SemiBold.ttf differdiff --git a/apps/monograph/app/assets/fonts/Inter-SemiBold.woff2 b/apps/monograph/app/assets/fonts/Inter-SemiBold.woff2new file mode 100644index 000000000..fbae113d2Binary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-SemiBold.woff2 differdiff --git a/apps/monograph/app/assets/fonts/Inter-SemiBoldItalic.ttf b/apps/monograph/app/assets/fonts/Inter-SemiBoldItalic.ttfnew file mode 100644index 000000000..3f704a208Binary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-SemiBoldItalic.ttf differdiff --git a/apps/monograph/app/assets/fonts/Inter-SemiBoldItalic.woff2 b/apps/monograph/app/assets/fonts/Inter-SemiBoldItalic.woff2new file mode 100644index 000000000..d67d01c6cBinary files /dev/null and b/apps/monograph/app/assets/fonts/Inter-SemiBoldItalic.woff2 differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.ttf b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.ttfdeleted file mode 100644index 0f921544b..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.ttf and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woffdeleted file mode 100644index 32c56a307..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2 b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2deleted file mode 100644index 26599958d..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2 and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.ttf b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.ttfdeleted file mode 100644index 797f40f30..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.ttf and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woffdeleted file mode 100644index 8612cca5c..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff2 b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff2deleted file mode 100644index 932bb4d0e..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff2 and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.ttf b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.ttfdeleted file mode 100644index e183c89bd..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.ttf and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woffdeleted file mode 100644index fd9eb374f..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2 b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2deleted file mode 100644index e44d73d1f..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2 and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.ttf b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.ttfdeleted file mode 100644index 408f07d21..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.ttf and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woffdeleted file mode 100644index e9cf9d654..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff2 b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff2deleted file mode 100644index fd04386e1..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff2 and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.ttf b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.ttfdeleted file mode 100644index c761fc6d0..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.ttf and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woffdeleted file mode 100644index 7b91f730c..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff2 b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff2deleted file mode 100644index f559fd43e..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff2 and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttfdeleted file mode 100644index cafe79820..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woffdeleted file mode 100644index 9bc5d1eed..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff and /dev/null differdiff --git a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2 b/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2deleted file mode 100644index 2aa7f3338..000000000Binary files a/apps/monograph/app/assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2 and /dev/null differdiff --git a/apps/monograph/app/components/header.tsx b/apps/monograph/app/components/header.tsxindex 124229c33..a0fcdc125 100644--- a/apps/monograph/app/components/header.tsx+++ b/apps/monograph/app/components/header.tsx@@ -39,7 +39,16 @@ export function Header() {><span style={{ color: "var(--accent)" }}>Mono</span>graph</Text>- <Button variant="accent">Publish a note</Button>+ <Button+ as="a"+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment+ // @ts-ignore+ href="https://app.notesnook.com/"+ target="_blank"+ variant="accent"+ >+ Publish a note+ </Button></Flex>);}diff --git a/apps/monograph/app/components/monograph-chat.tsx b/apps/monograph/app/components/monograph-chat.tsxindex 5c577609b..5f4325715 100644--- a/apps/monograph/app/components/monograph-chat.tsx+++ b/apps/monograph/app/components/monograph-chat.tsx@@ -139,7 +139,7 @@ const ChatItem = ({><Flexsx={{- backgroundColor: incoming ? "background-secondary" : "shade",+ backgroundColor: incoming ? "background" : "shade",borderRadius: 10,p: 2,pb: 1,@@ -147,7 +147,7 @@ const ChatItem = ({maxWidth: "70%"}}>- <Text sx={{ fontSize: "13px", color: "paragraph" }}>{message}</Text>+ <Text sx={{ fontSize: "subBody", color: "paragraph" }}>{message}</Text><Timer time={time} /></Flex></Flex>diff --git a/apps/monograph/app/components/theme-provider.tsx b/apps/monograph/app/components/theme-provider.tsxindex 62f2530e5..4a53a23da 100644--- a/apps/monograph/app/components/theme-provider.tsx+++ b/apps/monograph/app/components/theme-provider.tsx@@ -72,7 +72,23 @@ export function BaseThemeProvider(return (<>- <EmotionThemeProvider {...restProps} scope={scope}>+ <EmotionThemeProvider+ {...restProps}+ theme={{+ fontSizes: {+ heading: "24px",+ subheading: "20px",+ input: "12px",+ title: "16px",+ subtitle: "14px",+ body: "14px",+ subBody: "12px",+ menu: "12px",+ code: "14px"+ }+ }}+ scope={scope}+ >{children}</EmotionThemeProvider></>diff --git a/apps/monograph/app/root.css b/apps/monograph/app/root.cssindex ce6ec04cd..738e8a25f 100644--- a/apps/monograph/app/root.css+++ b/apps/monograph/app/root.css@@ -1,98 +1,75 @@-/* open-sans-regular - vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic */+@font-face {- font-family: "Open Sans";+ font-family: "Inter";font-style: normal;- font-display: fallback;+ font-display: swap;font-weight: 400;- src: local(""),- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2")- format("woff2"),- /* Super Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff")- format("woff"),- /* Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf")- format("truetype");+ src: local(""), url("./assets/fonts/Inter-Regular.woff2") format("woff2"),+ url("./assets/fonts/Inter-Regular.ttf") format("truetype");}-/* open-sans-600 - vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic */+@font-face {- font-family: "Open Sans";+ font-family: "Inter";font-style: normal;+ font-display: swap;font-weight: 600;- font-display: fallback;- src: local(""),- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2")- format("woff2"),- /* Super Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff")- format("woff"),- /* Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.ttf")- format("truetype");+ src: local(""), url("./assets/fonts/Inter-SemiBold.woff2") format("woff2"),+ url("./assets/fonts/Inter-SemiBold.ttf") format("truetype");}-/* open-sans-700 - vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic */+@font-face {- font-family: "Open Sans";+ font-family: "Inter";font-style: normal;+ font-display: swap;font-weight: 700;- font-display: fallback;- src: local(""),- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2")- format("woff2"),- /* Super Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff")- format("woff"),- /* Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.ttf")- format("truetype");+ src: local(""), url("./assets/fonts/Inter-Bold.woff2") format("woff2"),+ url("./assets/fonts/Inter-Bold.ttf") format("truetype");}-/* open-sans-italic - vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic */+@font-face {- font-family: "Open Sans";+ font-family: "Inter";+ font-style: normal;+ font-display: swap;+ font-weight: 500;+ src: local(""), url("./assets/fonts/Inter-Medium.woff2") format("woff2"),+ url("./assets/fonts/Inter-Medium.ttf") format("truetype");+}++@font-face {+ font-family: "Inter";font-style: italic;+ font-display: swap;font-weight: 400;- font-display: fallback;- src: local(""),- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff2")- format("woff2"),- /* Super Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff")- format("woff"),- /* Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.ttf")- format("truetype");+ src: local(""), url("./assets/fonts/Inter-Italic.woff2") format("woff2"),+ url("./assets/fonts/Inter-Italic.ttf") format("truetype");}-/* open-sans-600italic - vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic */+@font-face {- font-family: "Open Sans";+ font-family: "Inter";font-style: italic;+ font-display: swap;font-weight: 600;- font-display: fallback;src: local(""),- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff2")- format("woff2"),- /* Super Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff")- format("woff"),- /* Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.ttf")- format("truetype");+ url("./assets/fonts/Inter-SemiBoldItalic.woff2") format("woff2"),+ url("./assets/fonts/Inter-SemiBoldItalic.ttf") format("truetype");}-/* open-sans-700italic - vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic */+@font-face {- font-family: "Open Sans";+ font-family: "Inter";font-style: italic;+ font-display: swap;font-weight: 700;- font-display: fallback;- src: local(""),- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff2")- format("woff2"),- /* Super Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff")- format("woff"),- /* Modern Browsers */- url("./assets/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.ttf")- format("truetype");+ src: local(""), url("./assets/fonts/Inter-BoldItalic.woff2") format("woff2"),+ url("./assets/fonts/Inter-BoldItalic.ttf") format("truetype");+}++@font-face {+ font-family: "Inter";+ font-style: italic;+ font-display: swap;+ font-weight: 500;+ src: local(""), url("./assets/fonts/Inter-MediumItalic.woff2") format("woff2"),+ url("./assets/fonts/Inter-MediumItalic.ttf") format("truetype");}body {diff --git a/apps/monograph/app/routes/_index.tsx b/apps/monograph/app/routes/_index.tsxindex 503d96491..e6c1bb516 100644--- a/apps/monograph/app/routes/_index.tsx+++ b/apps/monograph/app/routes/_index.tsx@@ -127,6 +127,7 @@ export default function Monograph() {mt={6}><ButtonLink+ as="a"variant="accent"href="https://app.notesnook.com/"target="_blank"@@ -134,6 +135,7 @@ export default function Monograph() {Publish a note</ButtonLink><ButtonLink+ as="a"variant="secondary"sx={{bg: "background-secondary",@@ -182,7 +184,7 @@ export default function Monograph() {><Icon path={feature.Icon} color="var(--accent)" size={42} /><Text variant="heading">{feature.name}</Text>- <Text>{feature.body}</Text>+ <Text variant="body">{feature.body}</Text></Flex>))}</Box>diff --git a/apps/monograph/vite.config.ts b/apps/monograph/vite.config.tsindex 6a4bc5a83..3691e5e1d 100644--- a/apps/monograph/vite.config.ts+++ b/apps/monograph/vite.config.ts@@ -20,7 +20,7 @@ import { vitePlugin as remix } from "@remix-run/dev";import { defineConfig } from "vite";import tsconfigPaths from "vite-tsconfig-paths";import arraybuffer from "vite-plugin-arraybuffer";-import ThemeDark from "@notesnook/theme/theme-engine/themes/default-dark.json" with {type:"json"};+import ThemeDark from "@notesnook/theme/theme-engine/themes/default-dark.json" with { type:"json" };import type { Plugin, ResolvedConfig } from "vite";import { writeFile } from "fs/promises";import path from "path";@@ -51,8 +51,9 @@ export default defineConfig(({ isSsrBuild }) => ({scripts: { start: pkg.scripts.start },dependencies: {"@napi-rs/canvas": pkg.dependencies["@napi-rs/canvas"],- "@remix-run/server-runtime": pkg.devDependencies["@remix-run/server-runtime"],- },+ "@remix-run/server-runtime":+ pkg.devDependencies["@remix-run/server-runtime"]+ }})}),remix({@@ -65,13 +66,15 @@ export default defineConfig(({ isSsrBuild }) => ({}),tsconfigPaths(),arraybuffer(),- isSsrBuild ? viteStaticCopy({- targets: [- { src: "./server.ts", dest: "../../" },- { src: "./app/assets", dest: "../" },- { src: "./fonts", dest: "../" }- ]- }) : undefined+ isSsrBuild+ ? viteStaticCopy({+ targets: [+ { src: "./server.ts", dest: "../../" },+ { src: "./app/assets", dest: "../" },+ { src: "./fonts", dest: "../" }+ ]+ })+ : undefined],worker: {format: "es",@@ -90,7 +93,7 @@ export default defineConfig(({ isSsrBuild }) => ({build: {target: isSsrBuild ? "node20" : undefined,rollupOptions: {- external: ["@napi-rs/canvas"]+ external: ["@napi-rs/canvas"],}},define: {