Changing to a different font family #23
Replies: 1 comment 1 reply
-
Hello @Fastidious, You would put the following code inside of that file: :root {
--font-family: "your font family for text, ui etc.";
--code-font-family: "your font family for code blocks, source mode etc.";
--monospace: "your font family for inline code";
} This overrides the css variables which are specified in the css file of the theme. I am using no hard-coded font family properties, everything relies on these variables. Of course, you have to make sure that the font is either installed on your device or you have to import it. You can proceed by creating two more files - Alternative: You could also change these variables directly within the With that being said, I can't guarantee you that the theme will look good with every font. I would make sure that the font provides also bolder font weights, which are used quite extensively by this theme. I hope this is helpful! |
Beta Was this translation helpful? Give feedback.
-
What is the recommended, or easier, step to change the default Roboto font to other of my preference/liking?
Beta Was this translation helpful? Give feedback.
All reactions