_brand/_brand.yml at render time. Changes you make to this file take effect the next time you run quarto render — no restart required. The sections below explain each configuration area and the values you can set.
Colors
Define your practice’s primary and secondary palette using hex values. Theprimary color is used for headings and accents; secondary is used for subheadings and highlight elements.
_brand/_brand.yml
Keep
background set to #FFFFFF for clinic-ready print output. Colored
backgrounds can cause issues when printing to PDF or when the report is
photocopied.Typography
Thetypography block controls which fonts are loaded, the base body size, and heading weight.
_brand/_brand.yml
Preferred fonts
Fallback behavior
The Typst show rules in_extensions/neurotyp-adult/typst-show.typ define a font priority list:
- Equity B
- IBM Plex Sans / IBM Plex Serif
- Source Sans 3
- System default serif
typst-show.typ to use fallback fonts — Typst selects them automatically when a preferred font is missing.
Base size
base-size controls the body text point size. 11pt is the default and is appropriate for standard A4 clinical reports. Increase to 12pt if the report will be read by patients with visual impairments.
Logo
Place your practice logo in the_brand/ directory and reference it by path.
_brand/_brand.yml
1
Add your logo file
Copy your logo image into the
_brand/ directory. PNG format at 300 dpi is
recommended for sharp PDF output.2
Update the path
Set
path to the filename of your logo. The path is relative to _brand/.3
Set descriptive alt text
Update
alt with a short description, such as your practice name. This is
used for accessibility metadata in the PDF.4
Render to see the result
Run
quarto render template.qmd to apply your logo. It appears in the
report header on page 1.Full annotated example
The following is a complete_brand/_brand.yml with inline comments explaining each field.
_brand/_brand.yml