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.
public static ThemeName GetThemeForBackground(Color background)
Parameters
backgroundColorThe terminal background color to evaluate.
Returns
- ThemeName
A theme appropriate for the background luminance.