Skip to content

Commit 4417bd8

Browse files
committed
Expand typography example
1 parent b371453 commit 4417bd8

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

docs/authoring/brand.qmd

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,25 @@ typography:
277277

278278
The options `base` and `headings` set the typographic style of the main text and headings respectively.
279279
Use `links` to apply specific styles to links.
280-
The option `monospace` sets the typographic style of code in general, and `monospace-inline` and `monospace-block` can be further used to style code that appears inline and in blocks respectively.
280+
The option `monospace` sets the typographic style of code in general, and `monospace-inline` and `monospace-block` can be further used to style code that appears inline and in blocks respectively:
281281

282282
``` {.yaml filename="_brand.yml"}
283-
# More comprehensive example
284-
# inlcude styling code
283+
typography:
284+
fonts:
285+
- family: Jura
286+
source: google
287+
- family: Sono
288+
source: google
289+
base: Jura
290+
headings: Jura
291+
link:
292+
decoration: underline
293+
monospace: Sono
294+
monospace-inline:
295+
color: "#222222"
296+
background-color: none
297+
monospace-block:
298+
background-color: "#eef4f8"
285299
```
286300

287301
The fields allowed for each element differ, expand the callout below to see what is supported in each field.

0 commit comments

Comments
 (0)