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
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -277,11 +277,25 @@ typography:
277
277
278
278
The options `base` and `headings` set the typographic style of the main text and headings respectively.
279
279
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:
281
281
282
282
```{.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"
285
299
```
286
300
287
301
The fields allowed for each element differ, expand the callout below to see what is supported in each field.
0 commit comments