You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/authoring/brand.qmd
+13-9Lines changed: 13 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,19 @@ brand:
109
109
dark: dark-brand.yml
110
110
```
111
111
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
+
112
125
## Brand Elements
113
126
114
127
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:
663
676
664
677
Learn more about how Quarto generates styles in [More About Quarto Themes](/docs/output-formats/html-themes-more.qmd).
665
678
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.
0 commit comments