Merge pull request #88 from matcap/main
Use provided font for header name
This commit is contained in:
3
lib.typ
3
lib.typ
@@ -198,6 +198,7 @@
|
|||||||
show-footer: true,
|
show-footer: true,
|
||||||
language: "en",
|
language: "en",
|
||||||
font: ("Source Sans Pro", "Source Sans 3"),
|
font: ("Source Sans Pro", "Source Sans 3"),
|
||||||
|
header-font: ("Roboto"),
|
||||||
body,
|
body,
|
||||||
) = {
|
) = {
|
||||||
if type(accent-color) == "string" {
|
if type(accent-color) == "string" {
|
||||||
@@ -286,7 +287,7 @@
|
|||||||
#set text(
|
#set text(
|
||||||
size: 32pt,
|
size: 32pt,
|
||||||
style: "normal",
|
style: "normal",
|
||||||
font: ("Roboto"),
|
font: header-font,
|
||||||
)
|
)
|
||||||
#if language == "zh" or language == "ja" [
|
#if language == "zh" or language == "ja" [
|
||||||
#text(
|
#text(
|
||||||
|
|||||||
Reference in New Issue
Block a user