Skip to content

Build your personal knowledge base with Trilium Notes

chore(client): add fallback font

Elian Dorand8402755ee13
diff --git a/apps/client/src/stylesheets/theme-dark.css b/apps/client/src/stylesheets/theme-dark.css
index a6aab31181..f56e732323 100644
--- a/apps/client/src/stylesheets/theme-dark.css
+++ b/apps/client/src/stylesheets/theme-dark.css
@@ -1,16 +1,16 @@
:root {
--theme-style: dark;
- --main-font-family: Montserrat;
+ --main-font-family: Montserrat, sans-serif;
--main-font-size: normal;
- --tree-font-family: Montserrat;
+ --tree-font-family: Montserrat, sans-serif;
--tree-font-size: normal;
- --detail-font-family: Montserrat;
+ --detail-font-family: Montserrat, sans-serif;
--detail-font-size: normal;
- --monospace-font-family: JetBrainsLight;
+ --monospace-font-family: JetBrainsLight, monospace;
--monospace-font-size: normal;
--main-background-color: #333;
diff --git a/apps/client/src/stylesheets/theme-light.css b/apps/client/src/stylesheets/theme-light.css
index b485e8a27c..7aca1b3f90 100644
--- a/apps/client/src/stylesheets/theme-light.css
+++ b/apps/client/src/stylesheets/theme-light.css
@@ -5,16 +5,16 @@ html {
/* either light or dark, colored theme with darker tones are also dark, used e.g. for note map node colors */
--theme-style: light;
- --main-font-family: Montserrat;
+ --main-font-family: Montserrat, sans-serif;
--main-font-size: normal;
- --tree-font-family: Montserrat;
+ --tree-font-family: Montserrat, sans-serif;
--tree-font-size: normal;
- --detail-font-family: Montserrat;
+ --detail-font-family: Montserrat, sans-serif;
--detail-font-size: normal;
- --monospace-font-family: JetBrainsLight;
+ --monospace-font-family: JetBrainsLight, monospace;
--monospace-font-size: normal;
--main-background-color: white;
diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css
index a75ff689b3..0e6f7f1276 100644
--- a/apps/client/src/stylesheets/theme-next/base.css
+++ b/apps/client/src/stylesheets/theme-next/base.css
@@ -26,7 +26,7 @@
--detail-font-family: var(--main-font-family);
--detail-font-size: normal;
- --monospace-font-family: JetBrainsLight;
+ --monospace-font-family: JetBrainsLight, monospace;
--monospace-font-size: normal;
--left-pane-item-selected-shadow-size: 2px;