Definition
Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents the appearance configuration for light and dark mode settings in Mintlify.Remarks
This configuration controls the default appearance mode and whether users can toggle between light and dark modes in the documentation site.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
Default
Gets or sets the default light/dark mode for the documentation site.Syntax
Property Value
Type:string?
Remarks
Valid values are “system” (follows user’s system preference), “light”, or “dark”. Defaults to “system” if not specified.Strict
Gets or sets whether to hide the light/dark mode toggle from users.Syntax
Property Value
Type:System.Nullable<bool>?
Remarks
When set to true, users will not be able to switch between light and dark modes, and the site will use only the default mode specified. Defaults to false.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 Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?