Skip to content
ConsoleMonster
Enum

ThemeToken

ConsoleMonster.Styling

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

Semantic style tokens. Widgets only ask for tokens, never for concrete colours, so a theme (dark, light, high contrast, a brand theme) restyles everything and maps cleanly to every colour tier. Markup can use the token names directly, for example [pass]OK[/] or [muted]12:00[/].

Inheritance

  • Enum
  • ThemeToken

Usage

Explore 137 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 67

Accepted by parameters 70

Values

public const ThemeToken Text #

Body text.

Value: 0
public const ThemeToken Muted #

Secondary text: timestamps, units, hints.

Value: 1
public const ThemeToken Subtle #

Very low emphasis: empty bar tracks, guides, separators.

Value: 2
public const ThemeToken Accent #

The primary accent: titles, active items, the main series.

Value: 3
public const ThemeToken Accent2 #

A secondary accent hue.

Value: 4
public const ThemeToken Pass #

Success / passed.

Value: 5
public const ThemeToken Fail #

Failure / error.

Value: 6
public const ThemeToken Warn #

Warning.

Value: 7
public const ThemeToken Info #

Informational.

Value: 8
public const ThemeToken Skip #

Skipped / not applicable.

Value: 9
public const ThemeToken Running #

In progress.

Value: 10
public const ThemeToken Pending #

Queued / not started.

Value: 11
public const ThemeToken Border #

Panel and table borders.

Value: 12
public const ThemeToken Title #

Panel titles.

Value: 13
public const ThemeToken Header #

Table and section headers.

Value: 14
public const ThemeToken Highlight #

Emphasised values (key figures).

Value: 15
public const ThemeToken Surface #

Header and footer bars (carries a background).

Value: 16
public const ThemeToken SurfaceAccent #

Accent text on ThemeToken.Surface.

Value: 17
public const ThemeToken Series1 #

Chart series 1.

Value: 18
public const ThemeToken Series2 #

Chart series 2.

Value: 19
public const ThemeToken Series3 #

Chart series 3.

Value: 20
public const ThemeToken Series4 #

Chart series 4.

Value: 21
public const ThemeToken Series5 #

Chart series 5.

Value: 22
public const ThemeToken Series6 #

Chart series 6.

Value: 23
public const ThemeToken Focus #

The focused row or control in interactive prompts, menus and forms (carries a background).

Value: 24
public const ThemeToken Strong #

Emphasised foreground without a background fill.

Value: 25
public const ThemeToken Low #

A low-severity finding.

Value: 26
public const ThemeToken Critical #

A critical finding, always emphasised.

Value: 27
public const ThemeToken Gap #

An evidence gap that prevented evaluation.

Value: 28

Extension Methods

public static Tone ToTone(ThemeToken token) #

The tone of a theme token: a built-in tone where one matches, otherwise the token by name.

Parameters

token ConsoleMonster.Styling.ThemeToken required
The token.

Returns

Tone The tone.