Terminal UI V2, advanced binding

This commit is contained in:
2023-08-08 18:28:13 +02:00
parent 52536b569d
commit 2528487ff6
38 changed files with 911 additions and 199 deletions

View File

@@ -9,6 +9,7 @@
<ItemGroup>
<ProjectReference Include="..\..\AppCommon\FileTime.App.Core.Abstraction\FileTime.App.Core.Abstraction.csproj" />
<ProjectReference Include="..\..\Library\TerminalUI\TerminalUI.csproj" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,20 @@
using TerminalUI.Models;
namespace FileTime.ConsoleUI.App;
public interface ITheme
{
IColor? ItemBackgroundColor { get; }
IColor? AlternativeItemBackgroundColor { get; }
IColor? SelectedItemBackgroundColor { get; }
IColor? MarkedItemBackgroundColor { get; }
IColor? MarkedAlternativeItemBackgroundColor { get; }
IColor? MarkedSelectedItemBackgroundColor { get; }
IColor? DefaultForegroundColor { get; }
IColor? DefaultBackgroundColor { get; }
IColor? AlternativeItemForegroundColor { get; }
IColor? SelectedItemForegroundColor { get; }
IColor? MarkedItemForegroundColor { get; }
IColor? MarkedAlternativeItemForegroundColor { get; }
IColor? MarkedSelectedItemForegroundColor { get; }
}