Skip to content

Commit 95619d9

Browse files
committed
Clarify brand replaces entire _brand.yml
1 parent 4417bd8 commit 95619d9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/authoring/brand.qmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,18 @@ Currently, the formats that support **brand.yml** are: `html`, `dashboard`, `rev
8080
To specify a brand, create a `_brand.yml` file in the root directory of your project. *Do you need a project? Do we reccommend a project? *
8181
Quarto will detect the presence of `_brand.yml` and automatically apply the brand to all documents of the supported formats in the project.
8282

83-
You can also set, or override, brand settings in a document by specifying brand elements under the `brand` option:
83+
You can also set brand options in a document by specifying brand elements under the `brand` option:
8484

8585
```{.yaml filename="document.qmd"}
8686
---
8787
brand:
8888
color:
89-
background: "#ffffff"
89+
background: "#eeeeee"
9090
---
9191
```
9292

93+
If you set `brand` in a document header, it will replace the entire brand from `_brand.yml`.
94+
9395
You can disable brand for a document by setting `brand` to `false`:
9496

9597
```{.yaml filename="document.qmd"}

docs/reference/metadata/brand.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ color:
1414
foreground: blue
1515
```
1616

17-
Alternatively you can set, or override, options in the document header under `brand`:
17+
You can also specify brand options in a document header under `brand`:
1818

1919
```{.yaml filename="document.qmd"}
2020
---

0 commit comments

Comments
 (0)