Skip to content
ConsoleMonster

API Reference

Enum

ThemePreference

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

Specifies how a terminal theme should choose its light or dark palette.

Inheritance

  • Enum
  • ThemePreference

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.

Accepted by parameters 2

Values

public const ThemePreference Auto #

Choose based on automatic terminal background detection.

Value: 0
public const ThemePreference Light #

Prefer a light theme.

Value: 1
public const ThemePreference Dark #

Prefer a dark theme.

Value: 2