Skip to content

Commit 0f4da50

Browse files
committed
add details
1 parent 45d77d7 commit 0f4da50

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

settings/global.mdx

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,31 @@ settings. Learn more about the [properties](#properties) or from an
7777
[Infisical](https://infisical.com/docs) and [FRPC](https://frpc.io).
7878
</ResponseField>
7979

80-
<ResponseField name="font" type={'FontDetailsType | { headings?: FontDetailsType, body?: FontDetailsType } '}>
81-
Custom font for your documents. Apply globally using an object or set different fonts for headings and body text.
80+
<ResponseField
81+
name="font"
82+
type={
83+
"FontDetailsType | { headings?: FontDetailsType, body?: FontDetailsType } "
84+
}
85+
>
86+
Custom fonts. Apply globally or set different fonts for headings and the body
87+
text.
8288
<Expandable title="FontDetailsType">
8389
<ResponseField name="family" type="string" required>
84-
The font family name. Custom fonts and all Google Fonts are supported.
90+
The font family name. Custom fonts and all [Google
91+
Fonts](https://fonts.google.com/) are supported. e.g. "Open Sans",
92+
"Playfair Display"
8593
</ResponseField>
8694
<ResponseField name="weight" type="number">
87-
The font weight. Precise values such as `560` are also supported for variable fonts. Check under Styles section for your Google Font for available weights.
95+
The font weight. Precise values such as `560` are also supported for
96+
variable fonts. Check under the Styles section for your Google Font for
97+
the available weights.
8898
</ResponseField>
8999
<ResponseField name="url" type="string">
90-
The URL to the font file. Specify if using a different source from Google Fonts.
100+
The URL to the font file. Can be used to specify a font that is not from
101+
Google Fonts.
91102
</ResponseField>
92103
<ResponseField name="format" type="'woff' | 'woff2">
93-
The font format. Required if using a custom font source.
104+
The font format. Required if using a custom font source (`url`).
94105
</ResponseField>
95106
</Expandable>
96107
</ResponseField>
@@ -559,4 +570,5 @@ Click on the following dropdown to view a sample configuration file
559570

560571
## More Customization
561572

562-
Learn more about how to further customize your docs with custom CSS and JS in [Custom Scripts](https://mintlify.com/docs/integrations/custom/).
573+
Learn more about how to further customize your docs with custom CSS and JS in
574+
[Custom Scripts](https://mintlify.com/docs/integrations/custom/).

0 commit comments

Comments
 (0)