Hi,
how do I style headings’ font differently from paragraphs?
I looked in the docs, but I can’t find a solution. “font“ does not seem to be a valid key in heading styles.
EDIT: Damn, this was one of those cases in which you had to go public on a forum and find the solution a minute afterwards yourself…
#show heading.where(
level: 2
): it => text(
font: "Atma",
size: 20pt,
weight: "regular",
style: "normal",
it.body,
)