Skip to main content

Definition

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

Syntax

Mintlify.Core.Models.StylingConfig

Summary

Represents the styling configuration for various UI elements in the Mintlify documentation site.

Remarks

This configuration controls the visual styling of specific components such as breadcrumbs, section eyebrows, and code blocks throughout the documentation.

Constructors

.ctor

Syntax

public StylingConfig()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

Codeblocks

Gets or sets the code block theme.

Syntax

public string Codeblocks { get; set; }

Property Value

Type: string?

Remarks

Valid values are “system” or “dark”. The “system” option uses a theme that matches the current light/dark mode, while “dark” always uses a dark theme for code blocks regardless of the site’s appearance mode. Defaults to “system”.

Eyebrows

Gets or sets the eyebrows style for content sections.

Syntax

public string Eyebrows { get; set; }

Property Value

Type: string?

Remarks

Valid values are “section” or “breadcrumbs”. This controls the style of the small text that appears above page titles and section headers. “section” shows the current section name, while “breadcrumbs” shows the full navigation path. Defaults to “section”.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?