> ## Documentation Index
> Fetch the complete documentation index at: https://dotnetdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FontConfig

> Represents a specific font configuration for the Mintlify documentation site.

## Definition

**Assembly:** Mintlify.Core.dll

**Namespace:** Mintlify.Core.Models

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
Mintlify.Core.Models.FontConfig
```

## Summary

Represents a specific font configuration for the Mintlify documentation site.

## Remarks

This configuration defines a font used for headings or body text in the
documentation, including the font family, weight, and optional source URL
for custom hosted fonts.

## Constructors

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor

#### Syntax

```csharp theme={"dark"}
public FontConfig()
```

### <Icon icon="hammer" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> .ctor <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Family

Gets or sets the font family name.

#### Syntax

```csharp theme={"dark"}
public string Family { get; set; }
```

#### Property Value

Type: `string?`

#### Remarks

Specifies the name of the font family to use. This can be a standard
web font or a custom font loaded from the specified source URL.

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Format

Gets or sets the font file format.

#### Syntax

```csharp theme={"dark"}
public string Format { get; set; }
```

#### Property Value

Type: `string?`

#### Remarks

Specifies the format of the font file, such as "woff" or "woff2".
This helps the browser correctly interpret the font file loaded from
the source URL.

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Source

Gets or sets the URL to the hosted font file.

#### Syntax

```csharp theme={"dark"}
public string Source { get; set; }
```

#### Property Value

Type: `string?`

#### Remarks

Specifies the URL where the font file is hosted. This is used to load
custom fonts that are not available through standard font services.
The URL should point directly to the font file.

### <Icon icon="tag" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Weight

Gets or sets the font weight.

#### Syntax

```csharp theme={"dark"}
public System.Nullable<int> Weight { get; set; }
```

#### Property Value

Type: `System.Nullable<int>?`

#### Remarks

Specifies the weight of the font as a numeric value, such as 400 for
normal weight or 700 for bold. The available weights depend on the
specific font family being used.

## Methods

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name  | Type      | Description |
| ----- | --------- | ----------- |
| `obj` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> Equals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetHashCode <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> GetType <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> MemberwiseClone <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### <Icon icon="thumbtack" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ReferenceEquals <Badge color="gray">Inherited</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name   | Type      | Description |
| ------ | --------- | ----------- |
| `objA` | `object?` | -           |
| `objB` | `object?` | -           |

#### Returns

Type: `bool`

### <Icon icon="code-fork" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ToString <Badge color="gray">Inherited</Badge> <Badge color="orange">Virtual</Badge>

<Note>Inherited from `object`</Note>

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`
