Add Tamil NER routing and WPF test harness for POC validation.
Introduce dual-script ONNX NER routing (English/Tamil/mixed), Tamil console samples and integration tests, model download scripts, and a resizable WPF MVVM harness with click-to-load prompts, batch validation, and runtime-adjustable detection panels.
This commit is contained in:
68
src/PiiRedaction.TestHarness.Wpf/Resources/Styles.xaml
Normal file
68
src/PiiRedaction.TestHarness.Wpf/Resources/Styles.xaml
Normal file
@@ -0,0 +1,68 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<SolidColorBrush x:Key="AppBackgroundBrush" Color="#F3F4F6" />
|
||||
<SolidColorBrush x:Key="PanelBrush" Color="White" />
|
||||
<SolidColorBrush x:Key="BorderBrushColor" Color="#D1D5DB" />
|
||||
<SolidColorBrush x:Key="AccentBrush" Color="#2563EB" />
|
||||
<SolidColorBrush x:Key="WarningBrush" Color="#DC2626" />
|
||||
|
||||
<Style TargetType="TextBlock">
|
||||
<Setter Property="FontFamily" Value="Segoe UI" />
|
||||
<Setter Property="Foreground" Value="#111827" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="TextBox">
|
||||
<Setter Property="FontFamily" Value="Segoe UI" />
|
||||
<Setter Property="Padding" Value="8" />
|
||||
<Setter Property="BorderBrush" Value="{StaticResource BorderBrushColor}" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Button">
|
||||
<Setter Property="FontFamily" Value="Segoe UI" />
|
||||
<Setter Property="Padding" Value="12,6" />
|
||||
<Setter Property="Margin" Value="0,0,8,0" />
|
||||
<Setter Property="Background" Value="{StaticResource AccentBrush}" />
|
||||
<Setter Property="Foreground" Value="White" />
|
||||
<Setter Property="BorderThickness" Value="0" />
|
||||
<Setter Property="Cursor" Value="Hand" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="SecondaryButtonStyle" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Background" Value="#E5E7EB" />
|
||||
<Setter Property="Foreground" Value="#111827" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="GroupBox">
|
||||
<Setter Property="Margin" Value="0,0,0,8" />
|
||||
<Setter Property="Padding" Value="8" />
|
||||
<Setter Property="BorderBrush" Value="{StaticResource BorderBrushColor}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="DataGrid">
|
||||
<Setter Property="FontFamily" Value="Segoe UI" />
|
||||
<Setter Property="AutoGenerateColumns" Value="False" />
|
||||
<Setter Property="IsReadOnly" Value="True" />
|
||||
<Setter Property="HeadersVisibility" Value="Column" />
|
||||
<Setter Property="GridLinesVisibility" Value="Horizontal" />
|
||||
<Setter Property="BorderBrush" Value="{StaticResource BorderBrushColor}" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
<Setter Property="CanUserResizeColumns" Value="True" />
|
||||
<Setter Property="CanUserReorderColumns" Value="True" />
|
||||
<Setter Property="HorizontalScrollBarVisibility" Value="Auto" />
|
||||
<Setter Property="RowHeaderWidth" Value="0" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="GridSplitterStyle" TargetType="GridSplitter">
|
||||
<Setter Property="Background" Value="#E5E7EB" />
|
||||
<Setter Property="ShowsPreview" Value="True" />
|
||||
<Setter Property="ResizeBehavior" Value="PreviousAndNext" />
|
||||
</Style>
|
||||
|
||||
<Style x:Key="PanelBorderStyle" TargetType="Border">
|
||||
<Setter Property="Background" Value="{StaticResource PanelBrush}" />
|
||||
<Setter Property="BorderBrush" Value="{StaticResource BorderBrushColor}" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
<Setter Property="Padding" Value="8" />
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
Reference in New Issue
Block a user