Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents a color pair configuration for light and dark modes.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Dark
Gets or sets the color in hex format to use in dark mode.Syntax
Property Value
Type:string?
Light
Gets or sets the color in hex format to use in light mode.Syntax
Property Value
Type:string?
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
Returns the string representation of the color pair configuration.Syntax
Returns
Type:string
The light color, dark color, or empty string.
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?