Skip to content
Discussion options

You must be logged in to vote

Here’s a method for reference:
Step 1: Add opendyslexic.woff2 as a file note in Trilium (you can drag it directly into the tree on the left sidebar), then add the following attributes:
#originalFileName=opendyslexic.woff2 #customResourceProvider="fonts/opendyslexic.woff2"

Step 2: Create a CSS note, add the following code, and include the attribute #appCss:

body {
   --detail-font-family: 'opendyslexic', sans-serif !important;
   --tree-font-family: 'opendyslexic', sans-serif !important;
   --bs-body-font-family: 'opendyslexic', sans-serif !important;
   --main-font-family: 'opendyslexic', sans-serif !important;
   /* --monospace-font-family: 'opendyslexic', sans-serif !important; */
}
@fo…

Replies: 0 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by eliandoran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants