Table of Contents

Interface ITheme

Namespace
ItTiger.TigerCli.Tui.Abstractions
Assembly
ItTiger.TigerCli.dll
Resolves semantic TigerCli style and surface roles to concrete render styles for TUI controls, markup, and structured rendering.
public interface ITheme

Properties

Family

The contrast family this theme belongs to (dark or light). Custom semantic styles use the family to choose a dark/light override without needing one override per concrete theme. Defaults to Dark; light-background themes should return Light. Family is metadata, not inheritance.
TigerThemeFamily Family { get; }

Property Value

TigerThemeFamily

Name

Stable, unique theme identifier suitable for configuration (compared ordinal-ignore-case). Framework names ("dark", "light", "tiger-blue") and "default" are reserved.
string Name { get; }

Property Value

string

Methods

Resolve(ThemeStyle)

Resolves a single style token to a concrete CliCellStyle.
CliCellStyle Resolve(ThemeStyle style)

Parameters

style ThemeStyle

Returns

CliCellStyle

ResolveSurface(SurfaceRole)

Resolves a reusable SurfaceRole into concrete colours: the surface background plus the optional alternate-record (zebra) colours. Table style recipes and other components use this so the same surface (e.g. Panel) looks consistent.
SurfaceColors ResolveSurface(SurfaceRole role)

Parameters

role SurfaceRole

Returns

SurfaceColors