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
Properties
AltBackground
public CliColor? AltBackground { get; init; }
Property Value
AltForeground
public CliColor? AltForeground { get; init; }
Property Value
Background
public CliColor? Background { get; init; }