andrejilderda / joplin-macos-native-theme

Native looking macOS theme for note taking app Joplin
MIT License
281 stars 14 forks source link

Changing Fonts #79

Closed IkelAtomig closed 1 year ago

IkelAtomig commented 2 years ago

How to make the Theme follow the fonts in userstyle.css ?

My CSS :

/* For styling the rendered Markdown */
body {
    font-family: "Roboto Mono";
    /* sets body font */
    font-size: 14px;
    /* sets body text font size in pixels */
    color: #000;
    /* sets body text font colour */
} 

Before I use this theme, I was able to see my Font in both MD and Richtext editors as roboto mono. Now, This doesn't apply in both of them.

andrejilderda commented 1 year ago

Hi @IkelAtomig , you can overwrite the font-families for both the userstyle.css & userchrome.css like so:

:root:root {
  --s-font-family-system: "Roboto Mono";
}

Sorry for the late reply!