TextBox, PropertyChangeHandler
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using FileTime.ConsoleUI.App;
|
||||
using FileTime.ConsoleUI.App.Styling;
|
||||
using TerminalUI.Color;
|
||||
|
||||
namespace FileTime.ConsoleUI.Styles;
|
||||
@@ -14,6 +15,7 @@ public record Theme(
|
||||
IColor? MarkedSelectedItemBackgroundColor,
|
||||
IColor? SelectedItemColor,
|
||||
IColor? SelectedTabBackgroundColor,
|
||||
ListViewItemTheme ListViewItemTheme,
|
||||
Type? ForegroundColors,
|
||||
Type? BackgroundColors) : ITheme, IColorSampleProvider;
|
||||
|
||||
@@ -30,6 +32,10 @@ public static class DefaultThemes
|
||||
MarkedSelectedItemBackgroundColor: Color256Colors.Foregrounds.Yellow,
|
||||
SelectedItemColor: Color256Colors.Foregrounds.Black,
|
||||
SelectedTabBackgroundColor: Color256Colors.Backgrounds.Green,
|
||||
ListViewItemTheme: new(
|
||||
SelectedBackgroundColor: Color256Colors.Backgrounds.Gray,
|
||||
SelectedForegroundColor: Color256Colors.Foregrounds.Black
|
||||
),
|
||||
ForegroundColors: typeof(Color256Colors.Foregrounds),
|
||||
BackgroundColors: typeof(Color256Colors.Backgrounds)
|
||||
);
|
||||
@@ -45,6 +51,10 @@ public static class DefaultThemes
|
||||
MarkedSelectedItemBackgroundColor: ConsoleColors.Foregrounds.Yellow,
|
||||
SelectedItemColor: ConsoleColors.Foregrounds.Black,
|
||||
SelectedTabBackgroundColor: ConsoleColors.Backgrounds.Green,
|
||||
ListViewItemTheme: new(
|
||||
SelectedBackgroundColor: ConsoleColors.Backgrounds.Gray,
|
||||
SelectedForegroundColor: ConsoleColors.Foregrounds.Black
|
||||
),
|
||||
ForegroundColors: typeof(ConsoleColors.Foregrounds),
|
||||
BackgroundColors: typeof(ConsoleColors.Backgrounds)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user