Skip to content

Commit 5fff486

Browse files
move brand-mode under dark brand
1 parent cd5a874 commit 5fff486

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

docs/authoring/brand.qmd

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,19 @@ brand:
109109
dark: dark-brand.yml
110110
```
111111

112+
#### Typst
113+
114+
To choose a dark brand in Typst output use `brand-mode: dark`:
115+
116+
```{.yaml filename="document.qmd"}
117+
---
118+
format:
119+
typst:
120+
brand-mode: dark
121+
---
122+
```
123+
124+
112125
## Brand Elements
113126

114127
The elements of **brand.yml** are specified in the documentation for the [**brand.yml** project](https://posit-dev.github.io/brand-yml/){.external}.
@@ -663,13 +676,4 @@ theme:
663676
664677
Learn more about how Quarto generates styles in [More About Quarto Themes](/docs/output-formats/html-themes-more.qmd).
665678
666-
## Choosing light or dark brand in Typst
667-
668-
If the document has [both light and dark brands](#dark-brand), use `brand-mode: dark` to produce a dark-background PDF that matches the dark brand of your website.
669-
670-
``` yaml
671-
format:
672-
typst:
673-
brand-mode: dark
674-
```
675679

0 commit comments

Comments
 (0)