Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/resources/filters/quarto-post/typst-brand-yaml.lua
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ function render_typst_brand_yaml()

local headings = _quarto.modules.brand.get_typography('headings')
local foregroundColor = _quarto.modules.brand.get_color('foreground')
if headings and next(headings) or foregroundColor then
if headings and next(headings) or base and next(base) or foregroundColor then
base = base or {}
headings = headings or {}
local color = headings.color or foregroundColor
Expand Down
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 >}}
Loading