ColorScheme
public class ColorScheme
Color scheme definitions, cover the four colors that are typically needed by views in a console applications to display text and show the focused state. They include the regular attribute (normal), the attribute used when the view is focused (focus) and the attributes use to highlight the hotkeys in a view both in normal mode and focused mode.
-
The default color for text, when the view is not focused.
Declaration
Swift
public var normal: Attribute
-
The color for text when the view has the focus.
Declaration
Swift
public var focus: Attribute
-
The color for the hotkey when a view is not focused
Declaration
Swift
public var hotNormal: Attribute
-
The color for the hotkey when the view is focused.
Declaration
Swift
public var hotFocus: Attribute