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
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -200,14 +200,6 @@ logo:
200
200
201
201
You can specify a local file path, relative to the location of `_brand.yml`, or a URL.
202
202
203
-
::: {.callout-warning}
204
-
205
-
## Limitation
206
-
207
-
Logos specified as URLs are not currently supported in `format: typst`.
208
-
209
-
:::
210
-
211
203
A single logo may not work well in all locations so **brand.yml** allows you to set three different logos: `small`, `medium` and `large`. For example:
212
204
213
205
```{.yaml filename="_brand.yml"}
@@ -529,6 +521,14 @@ You can learn more about layering themes in [More About Quarto Themes](/docs/out
529
521
530
522
### Typst
531
523
524
+
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.
525
+
526
+
```yaml
527
+
format:
528
+
typst:
529
+
brand-mode: dark
530
+
```
531
+
532
532
In Typst documents, brand colors are set in a [dictionary](https://typst.app/docs/reference/foundations/dictionary/) called `brand-color`.
533
533
You can access them directory in raw Typst blocks using the syntax `brand-color.COLOR_NAME`.
534
534
For example, you could make a rectangle filled with your `primary` brand color:
0 commit comments