Table of Contents

Property ColorSchemes

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

ColorSchemes

Gets a dictionary of defined ColorScheme objects.

[JsonConverter(typeof(DictionaryJsonConverter<ColorScheme?>))]
[UsedImplicitly]
public static Dictionary<string, ColorScheme?> ColorSchemes { get; }

Property Value

Dictionary<string, ColorScheme>

Remarks

The ColorSchemes dictionary includes the following keys, by default:

Built-in Color SchemeDescription
BaseThe base color scheme used for most Views.
TopLevelThe application Toplevel color scheme; used for the Toplevel View.
Dialog The dialog color scheme; used for Dialog, MessageBox, and other views dialog-like views.
Menu The menu color scheme; used for MenuBar, ContextMenu, and StatusBar.
Error The color scheme for showing errors, such as in ErrorQuery(string, string, params string[]).

Changing the values of an entry in this dictionary will affect all views that use the scheme.

ConfigurationManager can be used to override the default values for these schemes and add additional schemes. See Themes.