Table of Contents

Struct SurfaceColors

Namespace
ItTiger.TigerCli.Primitives
Assembly
ItTiger.TigerCli.dll
The concrete colours a theme resolves for a SurfaceRole: the surface Background plus the optional alternate-record (zebra) colours used for data cells. When AltBackground is null the surface has no zebra striping. AltForeground may be null to inherit the body foreground.
public readonly record struct SurfaceColors : IEquatable<SurfaceColors>
Implements
Inherited Members

Constructors

SurfaceColors(CliColor?, CliColor?, CliColor?)

The concrete colours a theme resolves for a SurfaceRole: the surface Background plus the optional alternate-record (zebra) colours used for data cells. When AltBackground is null the surface has no zebra striping. AltForeground may be null to inherit the body foreground.
public SurfaceColors(CliColor? Background, CliColor? AltBackground = null, CliColor? AltForeground = null)

Parameters

Background CliColor?
AltBackground CliColor?
AltForeground CliColor?

Properties

AltBackground

public CliColor? AltBackground { get; init; }

Property Value

CliColor?

AltForeground

public CliColor? AltForeground { get; init; }

Property Value

CliColor?

Background

public CliColor? Background { get; init; }

Property Value

CliColor?