mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
906 B
906 B
template |
---|
overrides/main.html |
Changing the fonts
Configuration
Default:
Roboto
andRoboto Mono
The Roboto font family is the default font included with the theme,
specifically the regular sans-serif type for text and the monospaced
type for
code. Both fonts are loaded from Google Fonts and can be changed to any
supported typeface, like for example the Ubuntu font family:
theme:
font:
text: Ubuntu
code: Ubuntu Mono
The text font will be loaded in weights 400 and 700, the monospaced
font
in regular weight. If you want to load fonts from other destinations or don't
want to use Google Fonts for data privacy reasons, just set font
to false
:
theme:
font: false
Customization
TBD