Skip to content

Commit 44f572f

Browse files
authored
Add code example to font (#287)
1 parent b5c4835 commit 44f572f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

settings/global.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,19 @@ settings. Learn more about the [properties](#properties) or from an
102102
>
103103
Custom fonts. Apply globally or set different fonts for headings and the body
104104
text.
105+
106+
Example:
107+
```json
108+
"font": {
109+
"headings": {
110+
"family": "Roboto"
111+
},
112+
"body": {
113+
"family": "Oswald"
114+
}
115+
}
116+
```
117+
105118
<Expandable title="FontDetailsType">
106119
<ResponseField name="family" type="string" required>
107120
The font family name. Custom fonts and all [Google

0 commit comments

Comments
 (0)