123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424 |
- {
- // Specifies the "source of truth" for default values for all Terminal.Gui settings managed by
- // ConfigurationManager. It is automatically loaded, and applied, each time Application.Init
- // is run (via the ConfiguraitonManager.Reset method).
- //
- // In otherwords, initial values set in the the codebase are always overwritten by the contents of this
- // resource embedded in the Terminal.Gui.dll assembly.
- //
- // The Unit Test method "ConfigurationManagerTests.SaveDefaults" can be used to re-create the base of this file, but
- // note that not all values here will be recreated (e.g. the Light and Dark themes and any property initialized
- // null).
- //
- "$schema": "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
- // Set this to true in a .config file to be loaded to cause JSON parsing errors
- // to throw exceptions.
- "ConfigurationManager.ThrowOnJsonErrors": false,
- "Application.AlternateBackwardKey": {
- "Key": "PageUp",
- "Modifiers": [
- "Ctrl"
- ]
- },
- "Application.AlternateForwardKey": {
- "Key": "PageDown",
- "Modifiers": [
- "Ctrl"
- ]
- },
- "Application.EnableConsoleScrolling": false,
- "Application.QuitKey": {
- "Key": "Q",
- "Modifiers": [
- "Ctrl"
- ]
- },
- "Application.UseSystemConsole": false,
- "Application.IsMouseDisabled": false,
- "Theme": "Default",
- "Themes": [
- {
- "Default": {
- "Dialog.DefaultButtonAlignment": "Center",
- "FrameView.DefaultBorderStyle": "Single",
- "Window.DefaultBorderStyle": "Single",
- "ColorSchemes": [
- {
- "TopLevel": {
- "Normal": {
- "Foreground": "BrightGreen",
- "Background": "Black"
- },
- "Focus": {
- "Foreground": "White",
- "Background": "Cyan"
- },
- "HotNormal": {
- "Foreground": "Brown",
- "Background": "Black"
- },
- "HotFocus": {
- "Foreground": "Blue",
- "Background": "Cyan"
- },
- "Disabled": {
- "Foreground": "DarkGray",
- "Background": "Black"
- }
- }
- },
- {
- "Base": {
- "Normal": {
- "Foreground": "White",
- "Background": "Blue"
- },
- "Focus": {
- "Foreground": "Black",
- "Background": "Gray"
- },
- "HotNormal": {
- "Foreground": "BrightCyan",
- "Background": "Blue"
- },
- "HotFocus": {
- "Foreground": "BrightBlue",
- "Background": "Gray"
- },
- "Disabled": {
- "Foreground": "DarkGray",
- "Background": "Blue"
- }
- }
- },
- {
- "Dialog": {
- "Normal": {
- "Foreground": "Black",
- "Background": "Gray"
- },
- "Focus": {
- "Foreground": "White",
- "Background": "DarkGray"
- },
- "HotNormal": {
- "Foreground": "Blue",
- "Background": "Gray"
- },
- "HotFocus": {
- "Foreground": "BrightYellow",
- "Background": "DarkGray"
- },
- "Disabled": {
- "Foreground": "Gray",
- "Background": "DarkGray"
- }
- }
- },
- {
- "Menu": {
- "Normal": {
- "Foreground": "White",
- "Background": "DarkGray"
- },
- "Focus": {
- "Foreground": "White",
- "Background": "Black"
- },
- "HotNormal": {
- "Foreground": "BrightYellow",
- "Background": "DarkGray"
- },
- "HotFocus": {
- "Foreground": "BrightYellow",
- "Background": "Black"
- },
- "Disabled": {
- "Foreground": "Gray",
- "Background": "DarkGray"
- }
- }
- },
- {
- "Error": {
- "Normal": {
- "Foreground": "Red",
- "Background": "White"
- },
- "Focus": {
- "Foreground": "Black",
- "Background": "BrightRed"
- },
- "HotNormal": {
- "Foreground": "Black",
- "Background": "White"
- },
- "HotFocus": {
- "Foreground": "White",
- "Background": "BrightRed"
- },
- "Disabled": {
- "Foreground": "DarkGray",
- "Background": "White"
- }
- }
- }
- ]
- }
- },
- {
- "Dark": {
- "ColorSchemes": [
- {
- "TopLevel": {
- "Normal": {
- "Foreground": "Gray",
- "Background": "Black"
- },
- "Focus": {
- "Foreground": "White",
- "Background": "BrightGreen"
- },
- "HotNormal": {
- "Foreground": "BrightGreen",
- "Background": "Black"
- },
- "HotFocus": {
- "Foreground": "Cyan",
- "Background": "Black"
- },
- "Disabled": {
- "Foreground": "Black",
- "Background": "Gray"
- }
- }
- },
- {
- "Base": {
- "Normal": {
- "Foreground": "Gray",
- "Background": "Black"
- },
- "Focus": {
- "Foreground": "White",
- "Background": "DarkGray"
- },
- "HotNormal": {
- "Foreground": "BrightYellow",
- "Background": "Black"
- },
- "HotFocus": {
- "Foreground": "Cyan",
- "Background": "Black"
- },
- "Disabled": {
- "Foreground": "Black",
- "Background": "Gray"
- }
- }
- },
- {
- "Dialog": {
- "Normal": {
- "Foreground": "Gray",
- "Background": "Black"
- },
- "Focus": {
- "Foreground": "BrightCyan",
- "Background": "Black"
- },
- "HotNormal": {
- "Foreground": "White",
- "Background": "Black"
- },
- "HotFocus": {
- "Foreground": "White",
- "Background": "Black"
- },
- "Disabled": {
- "Foreground": "Black",
- "Background": "Gray"
- }
- }
- },
- {
- "Menu": {
- "Normal": {
- "Foreground": "White",
- "Background": "DarkGray"
- },
- "Focus": {
- "Foreground": "White",
- "Background": "Black"
- },
- "HotNormal": {
- "Foreground": "Gray",
- "Background": "DarkGray"
- },
- "HotFocus": {
- "Foreground": "White",
- "Background": "Black"
- },
- "Disabled": {
- "Foreground": "Gray",
- "Background": "Black"
- }
- }
- },
- {
- "Error": {
- "Normal": {
- "Foreground": "BrightYellow",
- "Background": "DarkGray"
- },
- "Focus": {
- "Foreground": "DarkGray",
- "Background": "BrightYellow"
- },
- "HotNormal": {
- "Foreground": "BrightYellow",
- "Background": "DarkGray"
- },
- "HotFocus": {
- "Foreground": "Red",
- "Background": "BrightYellow"
- },
- "Disabled": {
- "Foreground": "DarkGray",
- "Background": "Gray"
- }
- }
- }
- ]
- }
- },
- {
- "Light": {
- "ColorSchemes": [
- {
- "TopLevel": {
- "Normal": {
- "Foreground": "DarkGray",
- "Background": "White"
- },
- "Focus": {
- "Foreground": "Black",
- "Background": "White"
- },
- "HotNormal": {
- "Foreground": "BrightGreen",
- "Background": "White"
- },
- "HotFocus": {
- "Foreground": "Cyan",
- "Background": "White"
- },
- "Disabled": {
- "Foreground": "Gray",
- "Background": "White"
- }
- }
- },
- {
- "Base": {
- "Normal": {
- "Foreground": "DarkGray",
- "Background": "White"
- },
- "Focus": {
- "Foreground": "BrightRed",
- "Background": "Gray"
- },
- "HotNormal": {
- "Foreground": "Red",
- "Background": "White"
- },
- "HotFocus": {
- "Foreground": "Cyan",
- "Background": "DarkGray"
- },
- "Disabled": {
- "Foreground": "Black",
- "Background": "Gray"
- }
- }
- },
- {
- "Dialog": {
- "Normal": {
- "Foreground": "Black",
- "Background": "Gray"
- },
- "Focus": {
- "Foreground": "Blue",
- "Background": "Gray"
- },
- "HotNormal": {
- "Foreground": "Black",
- "Background": "Gray"
- },
- "HotFocus": {
- "Foreground": "BrightBlue",
- "Background": "Gray"
- },
- "Disabled": {
- "Foreground": "Black",
- "Background": "Gray"
- }
- }
- },
- {
- "Menu": {
- "Normal": {
- "Foreground": "DarkGray",
- "Background": "White"
- },
- "Focus": {
- "Foreground": "DarkGray",
- "Background": "Gray"
- },
- "HotNormal": {
- "Foreground": "BrightRed",
- "Background": "White"
- },
- "HotFocus": {
- "Foreground": "BrightRed",
- "Background": "Gray"
- },
- "Disabled": {
- "Foreground": "Gray",
- "Background": "White"
- }
- }
- },
- {
- "Error": {
- "Normal": {
- "Foreground": "BrightYellow",
- "Background": "DarkGray"
- },
- "Focus": {
- "Foreground": "DarkGray",
- "Background": "BrightYellow"
- },
- "HotNormal": {
- "Foreground": "BrightYellow",
- "Background": "DarkGray"
- },
- "HotFocus": {
- "Foreground": "Red",
- "Background": "BrightYellow"
- },
- "Disabled": {
- "Foreground": "DarkGray",
- "Background": "Gray"
- }
- }
- }
- ]
- }
- }
- ]
- }
|