Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents the font configuration for the Mintlify documentation site.Remarks
This configuration allows customization of typography by specifying custom fonts including font family, weight, source URLs, and format specifications.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Family
Gets or sets the font family name.Syntax
Property Value
Type:string?
Remarks
Specifies the name of the font family to use, such as “Open Sans” or “Playfair Display”. This should match the font family name defined in the font file.Format
Gets or sets the font file format.Syntax
Property Value
Type:string?
Remarks
Specifies the format of the font file. Valid values are “woff” or “woff2”. WOFF2 is preferred for modern browsers as it provides better compression.Source
Gets or sets the font source URL.Syntax
Property Value
Type:string?
Remarks
Specifies the URL where the font file can be downloaded from. Should be a complete URL pointing to the font file, such as “https://mintlify-assets.b-cdn.net/fonts/Hubot-Sans.woff2”.Weight
Gets or sets the font weight.Syntax
Property Value
Type:System.Nullable<int>?
Remarks
Specifies the font weight as a numeric value such as 400 (normal) or 700 (bold). Precise font weights like 550 are supported for variable fonts. Common values include 300 (light), 400 (normal), 500 (medium), 600 (semi-bold), 700 (bold).Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?