Skip to content

Commit 66e9509

Browse files
doc/hugo.toml: Use the theme font for mermaid diagrams too
Signed-off-by: Bernhard Kaindl <[email protected]>
1 parent 3ad08f1 commit 66e9509

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/hugo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ themeVariant = [
4646
]
4747
# auto switches between "red" and "zen-dark" depending on the browser/OS dark mode:
4848
themeVariantAuto = ["red", "zen-dark"]
49+
# Consistency: Use the font of the Hugo Relearn theme also for Mermaid diagrams:
50+
# securityLevel=loose is the default of Relearn, it allows HTML links in diagrams:
51+
mermaidInitialize = '{ "fontFamily": "Roboto Flex", "securityLevel": "loose" }'
4952
alwaysopen = false
5053
collapsibleMenu = true
5154

0 commit comments

Comments
 (0)