ColorsConfig

Represents the color configuration for Mintlify themes.

Syntax

public class ColorsConfig

Inheritance

Properties

Dark

[JsonPropertyName("dark")]
public string Dark { get; set; }
Gets or sets the dark color of the theme in hex format. Used for light mode.

Returns

string

Light

[JsonPropertyName("light")]
public string Light { get; set; }
Gets or sets the light color of the theme in hex format. Used for dark mode.

Returns

string

Primary

[JsonPropertyName("primary")]
public string Primary { get; set; }
Gets or sets the primary color of the theme in hex format.

Returns

string

Remarks

The colors to use in your documentation. At the very least, you must define the primary color.