Skip to content

Commit 6d3b0ad

Browse files
committed
Minor fixes
1 parent 93fcd62 commit 6d3b0ad

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/authoring/brand.qmd

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,11 @@ You can access both named and semantic colors from your brand in SCSS and using
196196

197197
<https://posit-dev.github.io/brand-yml/brand/logo.html>
198198

199-
Use `logo` to specify the logo for your brand: *This doesn't pass validation*
199+
Use `logo` to specify the logo for your brand:
200200

201201
``` {.yaml filename="_brand.yml"}
202-
logo: logo.png
202+
logo:
203+
medium: logo.png
203204
```
204205

205206
You can specify a local file path, relative to the location of `_brand.yml` or a URL (*is this true?*).
@@ -261,7 +262,7 @@ typography:
261262
source: google
262263
```
263264

264-
The properties you can set for a font under `fonts` depends on the `source`. You can see the other properties available in our [Reference for Brand](docs/reference/metadata/brand.qmd#font-resource-definitions)
265+
The properties you can set for a font under `fonts` depends on the `source`. You can see the other properties available in our [Reference for Brand](docs/reference/metadata/brand.qmd#font-resource-definitions).
265266

266267
You can then refer to fonts by `family` in the remaining typography options:
267268

@@ -444,6 +445,14 @@ $navbar-bg: $brand-blue;
444445

445446
### Typst
446447

448+
Brand colors are available in `brand-color`:
449+
450+
````markdown
451+
```{=typst}
452+
#set text(fill: brand-color.primary)
453+
```
454+
````
455+
447456
### Lua API
448457

449458
``` lua

0 commit comments

Comments
 (0)