Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
added Montserrat-Regular.ttf to fix boldness on mac, closes #3094
zadame8b8198eb882
diff --git a/src/public/fonts/Montserrat-Regular.ttf b/src/public/fonts/Montserrat-Regular.ttfnew file mode 100644index 0000000000..5b4b5afe6eBinary files /dev/null and b/src/public/fonts/Montserrat-Regular.ttf differdiff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.cssindex a714ee521c..6b3ec3e2a2 100644--- a/src/public/stylesheets/style.css+++ b/src/public/stylesheets/style.css@@ -1,6 +1,13 @@@font-face {- font-family: MontserratLight;+ font-family: Montserrat;src: url(../fonts/Montserrat-Light.ttf);+ font-weight: normal;+}++@font-face {+ font-family: Montserrat;+ src: url(../fonts/Montserrat-Regular.ttf);+ font-weight: bold;}@font-face {diff --git a/src/public/stylesheets/theme-dark.css b/src/public/stylesheets/theme-dark.cssindex 60b90d6a98..e8b1de4b37 100644--- a/src/public/stylesheets/theme-dark.css+++ b/src/public/stylesheets/theme-dark.css@@ -1,13 +1,13 @@:root {--theme-style: dark;- --main-font-family: MontserratLight;+ --main-font-family: Montserrat;--main-font-size: normal;- --tree-font-family: MontserratLight;+ --tree-font-family: Montserrat;--tree-font-size: normal;- --detail-font-family: MontserratLight;+ --detail-font-family: Montserrat;--detail-font-size: normal;--monospace-font-family: JetBrainsLight;diff --git a/src/public/stylesheets/theme-light.css b/src/public/stylesheets/theme-light.cssindex 3d13e693c7..2eeb8b4080 100644--- a/src/public/stylesheets/theme-light.css+++ b/src/public/stylesheets/theme-light.css@@ -5,13 +5,13 @@ 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: MontserratLight;+ --main-font-family: Montserrat;--main-font-size: normal;- --tree-font-family: MontserratLight;+ --tree-font-family: Montserrat;--tree-font-size: normal;- --detail-font-family: MontserratLight;+ --detail-font-family: Montserrat;--detail-font-size: normal;--monospace-font-family: JetBrainsLight;@@ -73,4 +73,4 @@ html {--link-color: blue;--mermaid-theme: default;-}+}\ No newline at end of file