Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: Mintlify.Core.Models.ThemePairConfigSyntax
Summary
Represents the color configuration for Mintlify themes.Remarks
The colors to use in your documentation. At the very least, you must define the primary color.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
Mintlify.Core.Models.ThemePairConfigSyntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Dark Inherited Virtual
Inherited from
Mintlify.Core.Models.ThemePairConfigSyntax
Property Value
Type:string?
Light Inherited Virtual
Inherited from
Mintlify.Core.Models.ThemePairConfigSyntax
Property Value
Type:string?
Primary
Gets or sets the primary color of the theme in hex format.Syntax
Property Value
Type:string
Remarks
This is a required field. Must be a valid hex color in format #RRGGBB or #RGB.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 Override
Inherited from
Mintlify.Core.Models.ThemePairConfigSyntax
Returns
Type:string
The light value, dark value, or empty string.
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?