Files
Terminal.Gui/Terminal.Gui/Resources/config.json
2025-04-04 09:50:12 -06:00

861 lines
26 KiB
JSON

{
// 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 ConfigurationManager.Reset method).
//
// In other words, 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.GuiV2Docs/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 Settings ---------------
"Key.Separator": "+",
"Application.ArrangeKey": "Ctrl+F5",
"Application.Force16Colors": false,
//"Application.ForceDriver": "", // TODO: ForceDriver should be nullable
"Application.IsMouseDisabled": false,
"Application.NextTabGroupKey": "F6",
"Application.NextTabKey": "Tab",
"Application.PrevTabGroupKey": "Shift+F6",
"Application.PrevTabKey": "Shift+Tab",
"Application.QuitKey": "Esc",
// --------------- Colors ---------------
// --------------- View Specific Settings ---------------
"PopoverMenu.DefaultKey": "Shift+F10",
"FileDialog.MaxSearchResults": 10000,
"FileDialogStyle.DefaultUseColors": false,
"FileDialogStyle.DefaultUseUnicodeCharacters": false,
// --------------- Themes -----------------
"Theme": "Default",
"Themes": [
{
"Default": {
"Dialog.DefaultButtonAlignment": "End",
"Dialog.DefaultButtonAlignmentModes": "AddSpaceBetweenItems",
"Dialog.DefaultBorderStyle": "Heavy",
"Dialog.DefaultShadow": "Transparent",
"FrameView.DefaultBorderStyle": "Single",
"Window.DefaultBorderStyle": "Single",
"MessageBox.DefaultButtonAlignment": "Center",
"MessageBox.DefaultBorderStyle": "Heavy",
"Button.DefaultShadow": "Opaque",
"Menuv2.DefaultBorderStyle": "Single",
"MenuBarv2.DefaultBorderStyle": "None",
"StatusBar.DefaultSeparatorLineStyle": "Single",
"ColorSchemes": [
{
"TopLevel": {
"Normal": {
"Foreground": "BrightGreen",
"Background": "#505050" // DarkerGray
},
"Focus": {
"Foreground": "White",
"Background": "#696969" // DimGray
},
"HotNormal": {
"Foreground": "Yellow",
"Background": "#505050" // DarkerGray
},
"HotFocus": {
"Foreground": "Yellow",
"Background": "#696969" // DimGray
},
"Disabled": {
"Foreground": "DarkGray",
"Background": "#505050" // DarkerGray
}
}
},
{
"Base": {
"Normal": {
"Foreground": "White",
"Background": "Blue"
},
"Focus": {
"Foreground": "DarkBlue",
"Background": "LightGray"
},
"HotNormal": {
"Foreground": "BrightCyan",
"Background": "Blue"
},
"HotFocus": {
"Foreground": "BrightBlue",
"Background": "LightGray"
},
"Disabled": {
"Foreground": "DarkGray",
"Background": "Blue"
}
}
},
{
"Dialog": {
"Normal": {
"Foreground": "Black",
"Background": "LightGray"
},
"Focus": {
"Foreground": "DarkGray",
"Background": "LightGray"
},
"HotNormal": {
"Foreground": "Blue",
"Background": "LightGray"
},
"HotFocus": {
"Foreground": "BrightBlue",
"Background": "LightGray"
},
"Disabled": {
"Foreground": "Gray",
"Background": "DarkGray"
}
}
},
{
"Menu": {
"Normal": {
"Foreground": "White",
"Background": "DarkBlue"
},
"Focus": {
"Foreground": "White",
"Background": "Blue"
},
"HotNormal": {
"Foreground": "Yellow",
"Background": "DarkBlue"
},
"HotFocus": {
"Foreground": "Yellow",
"Background": "Blue"
},
"Disabled": {
"Foreground": "Gray",
"Background": "DarkGray"
}
}
},
{
"Error": {
"Normal": {
"Foreground": "Red",
"Background": "Pink"
},
"Focus": {
"Foreground": "White",
"Background": "BrightRed"
},
"HotNormal": {
"Foreground": "Black",
"Background": "Pink"
},
"HotFocus": {
"Foreground": "Pink",
"Background": "BrightRed"
},
"Disabled": {
"Foreground": "DarkGray",
"Background": "White"
}
}
}
],
"Glyphs.Apple": "\uD83C\uDF4E",
"Glyphs.AppleBMP": "❦",
"Glyphs.BlackCircle": "●",
"Glyphs.BlocksMeterSegment": "▌",
"Glyphs.BottomSideLineLtHv": "╽",
"Glyphs.BottomTee": "┴",
"Glyphs.BottomTeeDbl": "╩",
"Glyphs.BottomTeeDblH": "╧",
"Glyphs.BottomTeeDblV": "╨",
"Glyphs.BottomTeeHvDblH": "┻",
"Glyphs.BottomTeeHvH": "┷",
"Glyphs.BottomTeeHvV": "┸",
"Glyphs.CheckStateChecked": "☑",
"Glyphs.CheckStateNone": "☒",
"Glyphs.CheckStateUnChecked": "☐",
"Glyphs.Close": "✘",
"Glyphs.Collapse": "-",
"Glyphs.ContinuousMeterSegment": "█",
"Glyphs.Cross": "┼",
"Glyphs.CrossDbl": "╬",
"Glyphs.CrossDblH": "╪",
"Glyphs.CrossDblV": "╫",
"Glyphs.CrossHv": "╋",
"Glyphs.CrossHvH": "┿",
"Glyphs.CrossHvV": "╂",
"Glyphs.Diamond": "◊",
"Glyphs.Dot": "∙",
"Glyphs.DottedSquare": "⬚",
"Glyphs.DownArrow": "▼",
"Glyphs.Expand": "+",
"Glyphs.File": "☰",
"Glyphs.Folder": "꤉",
"Glyphs.HalfBottomLine": "╷",
"Glyphs.HalfBottomLineLt": "╻",
"Glyphs.HalfLeftLine": "╴",
"Glyphs.HalfLeftLineHv": "╸",
"Glyphs.HalfRightLine": "╶",
"Glyphs.HalfRightLineHv": "╺",
"Glyphs.HalfTopLine": "╵",
"Glyphs.HalfTopLineHv": "╹",
"Glyphs.HLine": "─",
"Glyphs.HLineDa2": "╌",
"Glyphs.HLineDa3": "┄",
"Glyphs.HLineDa4": "┈",
"Glyphs.HLineDbl": "═",
"Glyphs.HLineHv": "━",
"Glyphs.HLineHvDa2": "╍",
"Glyphs.HLineHvDa3": "┅",
"Glyphs.HLineHvDa4": "┉",
"Glyphs.HorizontalEllipsis": "…",
"Glyphs.IdenticalTo": "≡",
"Glyphs.LeftArrow": "◄",
"Glyphs.LeftBracket": "⟦",
"Glyphs.LeftDefaultIndicator": "►",
"Glyphs.LeftSideLineHvLt": "╾",
"Glyphs.LeftTee": "├",
"Glyphs.LeftTeeDbl": "╠",
"Glyphs.LeftTeeDblH": "╞",
"Glyphs.LeftTeeDblV": "╟",
"Glyphs.LeftTeeHvDblH": "┣",
"Glyphs.LeftTeeHvH": "┝",
"Glyphs.LeftTeeHvV": "┠",
"Glyphs.LLCorner": "└",
"Glyphs.LLCornerDbl": "╚",
"Glyphs.LLCornerDblSingle": "╙",
"Glyphs.LLCornerHv": "┗",
"Glyphs.LLCornerHvLt": "┖",
"Glyphs.LLCornerLtHv": "┕",
"Glyphs.LLCornerR": "╰",
"Glyphs.LLCornerSingleDbl": "╘",
"Glyphs.LRCorner": "┘",
"Glyphs.LRCornerDbl": "╝",
"Glyphs.LRCornerDblSingle": "╜",
"Glyphs.LRCornerHv": "┛",
"Glyphs.LRCornerHvLt": "┚",
"Glyphs.LRCornerLtHv": "┙",
"Glyphs.LRCornerR": "╯",
"Glyphs.LRCornerSingleDbl": "╛",
"Glyphs.Maximize": "✽",
"Glyphs.Minimize": "❏",
"Glyphs.Move": "◊",
"Glyphs.RightArrow": "►",
"Glyphs.RightBracket": "⟧",
"Glyphs.RightDefaultIndicator": "◄",
"Glyphs.RightSideLineLtHv": "╼",
"Glyphs.RightTee": "┤",
"Glyphs.RightTeeDbl": "╣",
"Glyphs.RightTeeDblH": "╡",
"Glyphs.RightTeeDblV": "╢",
"Glyphs.RightTeeHvDblH": "┫",
"Glyphs.RightTeeHvH": "┥",
"Glyphs.RightTeeHvV": "┨",
"Glyphs.Selected": "◉",
"Glyphs.ShadowHorizontal": "▀",
"Glyphs.ShadowHorizontalEnd": "▘",
"Glyphs.ShadowHorizontalStart": "▝",
"Glyphs.ShadowVertical": "▌",
"Glyphs.ShadowVerticalStart": "▖",
"Glyphs.SizeBottomLeft": "↙",
"Glyphs.SizeBottomRight": "↘",
"Glyphs.SizeHorizontal": "↔",
"Glyphs.SizeTopLeft": "↖",
"Glyphs.SizeTopRight": "↗",
"Glyphs.SizeVertical": "↕",
"Glyphs.Stipple": "░",
"Glyphs.TopSideLineHvLt": "╿",
"Glyphs.TopTee": "┬",
"Glyphs.TopTeeDbl": "╦",
"Glyphs.TopTeeDblH": "╤",
"Glyphs.TopTeeDblV": "╥",
"Glyphs.TopTeeHvDblH": "┳",
"Glyphs.TopTeeHvH": "┯",
"Glyphs.TopTeeHvV": "┰",
"Glyphs.ULCorner": "┌",
"Glyphs.ULCornerDbl": "╔",
"Glyphs.ULCornerDblSingle": "╓",
"Glyphs.ULCornerHv": "┏",
"Glyphs.ULCornerHvLt": "┎",
"Glyphs.ULCornerLtHv": "┍",
"Glyphs.ULCornerR": "╭",
"Glyphs.ULCornerSingleDbl": "╒",
"Glyphs.UnSelected": "○",
"Glyphs.UpArrow": "▲",
"Glyphs.URCorner": "┐",
"Glyphs.URCornerDbl": "╗",
"Glyphs.URCornerDblSingle": "╖",
"Glyphs.URCornerHv": "┓",
"Glyphs.URCornerHvLt": "┑",
"Glyphs.URCornerLtHv": "┒",
"Glyphs.URCornerR": "╮",
"Glyphs.URCornerSingleDbl": "╕",
"Glyphs.VerticalFourDots": "⁞",
"Glyphs.VLine": "│",
"Glyphs.VLineDa2": "╎",
"Glyphs.VLineDa3": "┆",
"Glyphs.VLineDa4": "┊",
"Glyphs.VLineDbl": "║",
"Glyphs.VLineHv": "┃",
"Glyphs.VLineHvDa2": "╏",
"Glyphs.VLineHvDa3": "┇",
"Glyphs.VLineHvDa4": "┋"
}
},
{
"Dark": {
"Dialog.DefaultButtonAlignment": "End",
"Dialog.DefaultButtonAlignmentModes": "AddSpaceBetweenItems",
"Dialog.DefaultBorderStyle": "Heavy",
"Dialog.DefaultShadow": "Transparent",
"FrameView.DefaultBorderStyle": "Single",
"Window.DefaultBorderStyle": "Single",
"MessageBox.DefaultButtonAlignment": "Center",
"MessageBox.DefaultBorderStyle": "Heavy",
"Button.DefaultShadow": "Opaque",
"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": "BrightYellow",
"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": "LightGray",
"Background": "#505050" // DarkerGray
},
"Focus": {
"Foreground": "White",
"Background": "Black"
},
"HotNormal": {
"Foreground": "White",
"Background": "#505050" // DarkerGray
},
"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": {
"Dialog.DefaultButtonAlignment": "End",
"Dialog.DefaultButtonAlignmentModes": "AddSpaceBetweenItems",
"Dialog.DefaultBorderStyle": "Heavy",
"Dialog.DefaultShadow": "Transparent",
"FrameView.DefaultBorderStyle": "Single",
"Window.DefaultBorderStyle": "Single",
"MessageBox.DefaultButtonAlignment": "Center",
"MessageBox.DefaultBorderStyle": "Heavy",
"Button.DefaultShadow": "Opaque",
"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": "#505050", // DarkerGray
"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": "LightGray"
},
"Focus": {
"Foreground": "DarkGray",
"Background": "White"
},
"HotNormal": {
"Foreground": "BrightRed",
"Background": "LightGray"
},
"HotFocus": {
"Foreground": "BrightRed",
"Background": "White"
},
"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"
}
}
}
]
}
},
{
"Black & White": {
"Dialog.DefaultShadow": "None",
"FrameView.DefaultBorderStyle": "Single",
"Window.DefaultBorderStyle": "Single",
"MessageBox.DefaultButtonAlignment": "Center",
"MessageBox.DefaultBorderStyle": "Heavy",
"Button.DefaultShadow": "None",
"ColorSchemes": [
{
"TopLevel": {
"Normal": {
"Foreground": "White",
"Background": "Black"
},
"Focus": {
"Foreground": "Black",
"Background": "White"
},
"HotNormal": {
"Foreground": "Black",
"Background": "White"
},
"HotFocus": {
"Foreground": "White",
"Background": "Black"
},
"Disabled": {
"Foreground": "Black",
"Background": "Black"
}
}
},
{
"Base": {
"Normal": {
"Foreground": "White",
"Background": "Black"
},
"Focus": {
"Foreground": "Black",
"Background": "White"
},
"HotNormal": {
"Foreground": "Black",
"Background": "White"
},
"HotFocus": {
"Foreground": "White",
"Background": "Black"
},
"Disabled": {
"Foreground": "Black",
"Background": "Black"
}
}
},
{
"Dialog": {
"Normal": {
"Foreground": "Black",
"Background": "White"
},
"Focus": {
"Foreground": "White",
"Background": "Black"
},
"HotNormal": {
"Foreground": "White",
"Background": "Black"
},
"HotFocus": {
"Foreground": "Black",
"Background": "White"
},
"Disabled": {
"Foreground": "White",
"Background": "White"
}
}
},
{
"Menu": {
"Normal": {
"Foreground": "Black",
"Background": "White"
},
"Focus": {
"Foreground": "White",
"Background": "Black"
},
"HotNormal": {
"Foreground": "White",
"Background": "Black"
},
"HotFocus": {
"Foreground": "Black",
"Background": "White"
},
"Disabled": {
"Foreground": "White",
"Background": "White"
}
}
},
{
"Error": {
"Normal": {
"Foreground": "White",
"Background": "Black"
},
"Focus": {
"Foreground": "Black",
"Background": "White"
},
"HotNormal": {
"Foreground": "Black",
"Background": "White"
},
"HotFocus": {
"Foreground": "White",
"Background": "Black"
},
"Disabled": {
"Foreground": "Black",
"Background": "Black"
}
}
}
]
}
},
{
"Gray Scale": {
"Dialog.DefaultButtonAlignment": "End",
"Dialog.DefaultButtonAlignmentModes": "AddSpaceBetweenItems",
"Dialog.DefaultBorderStyle": "Heavy",
"Dialog.DefaultShadow": "Transparent",
"FrameView.DefaultBorderStyle": "Single",
"Window.DefaultBorderStyle": "Single",
"MessageBox.DefaultButtonAlignment": "Center",
"MessageBox.DefaultBorderStyle": "Heavy",
"Button.DefaultShadow": "Opaque",
"ColorSchemes": [
{
"TopLevel": {
"Normal": {
"Foreground": "#A9A9A9", // DarkGray
"Background": "#505050" // DarkerGray
},
"Focus": {
"Foreground": "White",
"Background": "#696969" // DimGray
},
"HotNormal": {
"Foreground": "#808080", // Gray
"Background": "#505050" // DarkerGray
},
"HotFocus": {
"Foreground": "White",
"Background": "#808080" // Gray
},
"Disabled": {
"Foreground": "#505050", // DarkerGray
"Background": "Black"
}
}
},
{
"Base": {
"Normal": {
"Foreground": "#A9A9A9", // DarkGray
"Background": "Black"
},
"Focus": {
"Foreground": "White",
"Background": "#505050" // DarkerGray
},
"HotNormal": {
"Foreground": "#808080", // Gray
"Background": "Black"
},
"HotFocus": {
"Foreground": "White",
"Background": "#505050" // DarkerGray
},
"Disabled": {
"Foreground": "#696969", // DimGray
"Background": "Black"
}
}
},
{
"Dialog": {
"Normal": {
"Foreground": "#505050", // DarkerGray
"Background": "White"
},
"Focus": {
"Foreground": "Black",
"Background": "#D3D3D3" // LightGray
},
"HotNormal": {
"Foreground": "#808080", // Gray
"Background": "White"
},
"HotFocus": {
"Foreground": "Black",
"Background": "#D3D3D3" // LightGray
},
"Disabled": {
"Foreground": "#696969", // DimGray
"Background": "White"
}
}
},
{
"Menu": {
"Normal": {
"Foreground": "#D3D3D3", // LightGray
"Background": "#505050" // DarkerGray
},
"Focus": {
"Foreground": "White",
"Background": "#808080" // Gray
},
"HotNormal": {
"Foreground": "#808080", // Gray
"Background": "#505050" // DarkerGray
},
"HotFocus": {
"Foreground": "White",
"Background": "#808080" // Gray
},
"Disabled": {
"Foreground": "#505050", // DarkerGray
"Background": "#505050" // DarkerGray
}
}
},
{
"Error": {
"Normal": {
"Foreground": "Black",
"Background": "White"
},
"Focus": {
"Foreground": "White",
"Background": "Black"
},
"HotNormal": {
"Foreground": "Black",
"Background": "#D3D3D3" // LightGray
},
"HotFocus": {
"Foreground": "White",
"Background": "Black"
},
"Disabled": {
"Foreground": "#696969", // DimGray
"Background": "White"
}
}
}
]
}
}
]
}