Method GetThemeForBackground
GetThemeForBackground(Color)
Returns a ThemeName appropriate for the given terminal background color. Returns TextMateSharp.Grammars.ThemeName.DarkPlus for dark backgrounds and TextMateSharp.Grammars.ThemeName.LightPlus for light backgrounds.
[Obsolete("Syntax colors are resolved from ThemeManager.Theme via VisualRole.Code* roles.")]
public static ThemeName GetThemeForBackground(Color background)
Parameters
backgroundColorThe terminal background color to evaluate.
Returns
- ThemeName
A theme appropriate for the background luminance.