Set header font when setting custom font

main
Bob Mottram 2022-02-27 14:28:03 +00:00
parent 8865736fa7
commit 5bd94b5267
1 changed files with 1 additions and 0 deletions

View File

@ -513,6 +513,7 @@ def _set_custom_font(base_dir: str):
"') format('" +
custom_font_type + "')")
css = set_css_param(css, "*font-family", "'CustomFont'")
css = set_css_param(css, "header-font", "'CustomFont'")
filename = base_dir + '/' + filename
with open(filename, 'w+') as cssfile:
cssfile.write(css)