Record
public record ThemeConfig : System.IEquatable<Moka.Docs.Core.Configuration.ThemeConfig>

Namespace: Moka.Docs.Core.Configuration

Theme configuration.

Inheritance

Implements: System.IEquatable<Moka.Docs.Core.Configuration.ThemeConfig>

Properties

NameDescription
Name Theme name (built-in) or path to a custom theme directory.
Options Theme-specific options.

Name

string ThemeConfig.Name { get; init; }

Theme name (built-in) or path to a custom theme directory.

Options

ThemeOptions ThemeConfig.Options { get; init; }

Theme-specific options.

Type Relationships
classDiagram
                    style ThemeConfig fill:#f9f,stroke:#333,stroke-width:2px
                    ThemeConfig ..|> ThemeConfig~ : implements
                
View Source
/// <summary>
///     Theme configuration.
/// </summary>
public sealed record ThemeConfig
{
    /// <summary>Theme name (built-in) or path to a custom theme directory.</summary>
    public string Name { get; init; } = MokaDefaults.ThemeName;
    /// <summary>Theme-specific options.</summary>
    public ThemeOptions Options { get; init; } = new();
}
Was this page helpful?