Skip to content
ConsoleMonster
Enum

ThemeMode

ConsoleMonster

Namespace
ConsoleMonster
Assembly
ConsoleMonster
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

Whether output follows the host's light or dark preference or uses one of them explicitly.

Inheritance

  • Enum
  • ThemeMode

Remarks

ThemeMode.Auto resolves at the host: the browser's preferred colour scheme for HTML output, the terminal profile in a console, and ThemeMode.Light for static images.

Usage

Explore 6 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 4

Accepted by parameters 2

Values

public const ThemeMode Auto #

Follows the host's preference.

Value: 0
public const ThemeMode Light #

Light surfaces with dark text.

Value: 1
public const ThemeMode Dark #

Dark surfaces with light text.

Value: 2