Custom fonts
Bring your own fonts to personalize your documentation style.
Upload and manage custom fonts for branding or aesthetic purposes. Once added, fonts can be applied to your spaces or sites to achieve a unique look.
Defines a font family along with its various font-face declarations for use in CSS '@font-face' rules.
A globally unique identifier for the font definition.
Whether the font is a custom font. If false, this font is provided by GitBook.
The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display").
A list of font-face definitions, specifying variations such as weight and style.
The CustomizationFontDefinition object
The unique id of the organization
Defines a custom font and associated font faces with storage references.
The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display").
Array of font faces specifying weights and their corresponding storage keys. At least one font face with weight 400 (regular) must be provided.
The unique id of the organization
The unique ID of a font
Defines a custom font and associated font faces with storage references.
The human-readable font-family name used in CSS (e.g., "Open Sans", "Playfair Display").
Array of font faces specifying weights and their corresponding storage keys. Passing null as the storage key will remove that weight.
Was this helpful?