Skip to main content

Definition

Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.Object

Syntax

Summary

Represents a base configuration with Light and Dark theme variants.

Remarks

This base class provides the shared Light/Dark string properties used across multiple Mintlify configuration types such as colors, logos, favicons, and background images. Subclasses may add additional properties and their own implicit operators.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Dark Virtual

Gets or sets the value for dark mode.

Syntax

Property Value

Type: string?

Light Virtual

Gets or sets the value for light mode.

Syntax

Property Value

Type: string?

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Override

Returns the string representation of the theme pair configuration.

Syntax

Returns

Type: string The light value, dark value, or empty string.

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?