This commit is contained in:
Zel
2025-02-23 18:47:21 +08:00
parent eaaffeeccb
commit e46a7ca31c
104 changed files with 2630 additions and 2516 deletions

View File

@@ -2,8 +2,14 @@
{
public class BGFGStyle
{
public string ForegroundStyle { get; set; } = String.Empty;
public string BackgroundStyle { get; set; } = String.Empty;
public BGFGStyle()
{
ForegroundStyle = string.Empty;
BackgroundStyle = string.Empty;
}
public string ForegroundStyle { get; set; }
public string BackgroundStyle { get; set; }
public BGFGStyle(string foregroundStyle, string backgroundStyle)
{
@@ -16,9 +22,6 @@
return new BGFGStyle(BackgroundStyle, ForegroundStyle);
}
public BGFGStyle()
{
}
public static readonly Dictionary<string, BGFGStyle> ForegroundStyles = new(StringComparer.OrdinalIgnoreCase)
{
@@ -67,4 +70,4 @@
return new BGFGStyle();
}
}
}
}