Class ThemeScope
- Namespace
- Terminal.Gui.Configuration
- Assembly
- Terminal.Gui.dll
The root object for a Theme. A Theme is a set of settings that are applied to the running Application 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
- Inheritance
-
ThemeScope
- Implements
- Inherited Members
- Extension Methods
Examples
"Default": {
"Schemes": [
{
"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"
}
}