CliThemeDefaultColor Property

Gets or sets the default color used by the app.

Default is , which is equivalent to Gray on Windows and is equivalent to (ConsoleColor)-1 (unset/unknown) on Unix-like platforms.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.0.0
C#
public ConsoleColor? DefaultColor { get; init; }

Property Value

NullableConsoleColor

See Also