using Pastel; namespace TUI.Engine.Theme; public static class Palette { private const string HoverColor = "292928"; private const string PrimaryColor = "84BA64"; private const string HintColor = "71797E"; private const string ErrorColor = "CA3433"; private const string WarningColor = "EC9706"; private const string InfoColor = "25799F"; public static string Main(this string currentText, bool isFocused = true) => isFocused ? currentText.Pastel(PrimaryColor) : Hint(currentText); public static string Hint(this string currentText) => currentText.Pastel(HintColor); public static string Disable(this string currentText) => currentText.RemoveColors().Pastel(HintColor); public static string Warning(this string currentText) => currentText.Pastel(WarningColor); public static string Error(this string currentText) => currentText.Pastel(ErrorColor); public static string Info(this string currentText) => currentText.Pastel(InfoColor); }