Class ThemeScope | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

The root object for a Theme. A Theme is a set of settings that are applied to the runningApplication as a group.

[JsonConverter(typeof(ScopeJsonConverter<ThemeScope>))]
public class ThemeScope : Scope<ThemeScope>, IDictionary<string, ConfigProperty>, ICollection<KeyValuePair<string, ConfigProperty>>, IReadOnlyDictionary<string, ConfigProperty>, IReadOnlyCollection<KeyValuePair<string, ConfigProperty>>, IEnumerable<KeyValuePair<string, ConfigProperty>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable

Inheritance

ThemeScope

Implements

Inherited Members

Examples

"Default": {
    "ColorSchemes": [
    {
    "TopLevel": {
    "Normal": {
        "Foreground": "BrightGreen",
        "Background": "Black"
    },
    "Focus": {
    "Foreground": "White",
        "Background": "Cyan"

    },
    "HotNormal": {
        "Foreground": "Yellow",
        "Background": "Black"

    },
    "HotFocus": {
        "Foreground": "Blue",
        "Background": "Cyan"
    },
    "Disabled": {
        "Foreground": "DarkGray",
        "Background": "Black"

    }
}