Skip to content

Class UIColors

The colors an interface draws with unless an element sets its own. The defaults are the terminal’s own foreground and background and entries of its 16 color palette, so an interface follows the session’s theme.

Declaration
public sealed class UIColors
Declaration
public TermColor Text
Declaration
public TermColor Background

Secondary text: hints, placeholders, and disabled controls.

Declaration
public TermColor Dim
Declaration
public TermColor Border

The border of the element with keyboard focus, and filled bars.

Declaration
public TermColor Accent

The background of a selected row or a focused button.

Declaration
public TermColor Selection
Declaration
public TermColor SelectionText