-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also populate brand.typography.headings for title if there is any base
since we can't default to 'do nothing', we must implement full inheritance in every case for brand.typography.headings
- Loading branch information
1 parent
9286ded
commit ba633c8
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
tests/docs/smoke-all/typst/brand-yaml/typography/title-inherit-base-family.qmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: "Untitled" | ||
format: | ||
html: default | ||
typst: | ||
keep-typ: true | ||
revealjs: | ||
output-file: base-reveal.html | ||
brand: | ||
typography: | ||
fonts: | ||
- family: Tiny5 | ||
source: google | ||
base: Tiny5 | ||
_quarto: | ||
tests: | ||
typst: | ||
ensureTypstFileRegexMatches: | ||
- | ||
- 'font: \("Tiny5",\),' | ||
- 'heading-family: \("Tiny5",\)' | ||
|
||
--- | ||
|
||
## Section | ||
|
||
{{< lipsum 1 >}} |