Skip to main content

Definition

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

Syntax

Mintlify.Core.Models.ColorPairConfig

Summary

Represents a color pair configuration for light and dark modes.

Constructors

.ctor

Syntax

public ColorPairConfig()

Properties

Dark

Gets or sets the color in hex format to use in dark mode.

Syntax

public string Dark { get; set; }

Property Value

Type: string?

Light

Gets or sets the color in hex format to use in light mode.

Syntax

public string Light { get; set; }

Property Value

Type: string?

Methods

ToString

Returns the string representation of the color pair configuration.

Syntax

public override string ToString()

Returns

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