Skip to content

Commit

Permalink
typst brand yaml: make default logo slightly smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonwoodhull committed Jan 3, 2025
1 parent 58c5d0e commit e2af577
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/resources/filters/quarto-post/typst-brand-yaml.lua
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ function render_typst_brand_yaml()
inset = _quarto.modules.typst.as_typst_dictionary(pads)
end
else
inset = '0.5in'
inset = '0.75in'
end
logoOptions.width = _quarto.modules.typst.css.translate_length(logoOptions.width or '2in')
logoOptions.width = _quarto.modules.typst.css.translate_length(logoOptions.width or '1.5in')
logoOptions.location = logoOptions.location and
location_to_typst_align(logoOptions.location) or 'left+top'
quarto.log.debug('logo options', logoOptions)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ _quarto:
typst:
ensureTypstFileRegexMatches:
-
- '#set page\(background: align\(left\+top, box\(inset: 0.5in, image\("posit-logo-2024.svg", width: 2in, alt: "Posit Logo"\)\)\)\)'
- '#set page\(background: align\(left\+top, box\(inset: 0.75in, image\("posit-logo-2024.svg", width: 1.5in, alt: "Posit Logo"\)\)\)\)'
- []
---

Expand Down

0 comments on commit e2af577

Please sign in to comment.