|
|
|
|
<Application x:Class="leak_test_project.App"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:local="clr-namespace:leak_test_project"
|
|
|
|
|
xmlns:views="clr-namespace:leak_test_project.Views"
|
|
|
|
|
xmlns:viewmodels="clr-namespace:leak_test_project.ViewModels">
|
|
|
|
|
<Application.Resources>
|
|
|
|
|
<!-- HMI Theme Brushes -->
|
|
|
|
|
<SolidColorBrush x:Key="HmiScreenBackgroundBrush" Color="#07111C"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiMutedTextBrush" Color="#8A9A86"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiInputBrush" Color="#0D1F2D"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiTextBrush" Color="#E5E7EB"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiAccentBrush" Color="#76EAFF"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiAccentBlueBrush" Color="#1E40AF"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiButtonHoverBrush" Color="#1E2E3C"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiButtonBrush" Color="#0F1B26"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiButtonPressedBrush" Color="#0A121A"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiRunBrush" Color="#10B981"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiWarningBrush" Color="#FFD391"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiPanelBrush" Color="#0B131A"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiPanelInnerBorderBrush" Color="#253849"/>
|
|
|
|
|
<SolidColorBrush x:Key="HmiPanelHeaderBrush" Color="#0E1924"/>
|
|
|
|
|
<!-- ViewModel to View Mappings -->
|
|
|
|
|
<DataTemplate DataType="{x:Type viewmodels:HomeViewModel}">
|
|
|
|
|
<views:HomeView/>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
|
|
<DataTemplate DataType="{x:Type viewmodels:DataViewModel}">
|
|
|
|
|
<views:DataView/>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
|
|
<!-- Common Styles -->
|
|
|
|
|
<Style x:Key="HeaderStyle" TargetType="TextBlock">
|
|
|
|
|
<Setter Property="Background" Value="#696969"/>
|
|
|
|
|
<Setter Property="Foreground" Value="White"/>
|
|
|
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
|
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
|
|
|
<Setter Property="FontSize" Value="14"/>
|
|
|
|
|
</Style>
|
|
|
|
|
<Style x:Key="LabelStyle" TargetType="Border">
|
|
|
|
|
<Setter Property="Background" Value="#D3D3D3"/>
|
|
|
|
|
<Setter Property="BorderBrush" Value="Black"/>
|
|
|
|
|
<Setter Property="BorderThickness" Value="0.5"/>
|
|
|
|
|
<Setter Property="Padding" Value="5"/>
|
|
|
|
|
</Style>
|
|
|
|
|
<Style x:Key="LabelTextStyle" TargetType="TextBlock">
|
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
|
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
|
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
|
|
|
|
</Style>
|
|
|
|
|
<Style x:Key="ValueStyle" TargetType="Border">
|
|
|
|
|
<Setter Property="Background" Value="White"/>
|
|
|
|
|
<Setter Property="BorderBrush" Value="Black"/>
|
|
|
|
|
<Setter Property="BorderThickness" Value="0.5"/>
|
|
|
|
|
<Setter Property="Padding" Value="5"/>
|
|
|
|
|
</Style>
|
|
|
|
|
<Style x:Key="ValueTextStyle" TargetType="TextBlock">
|
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Center"/>
|
|
|
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
|
|
|
</Style>
|
|
|
|
|
</Application.Resources>
|
|
|
|
|
</Application>
|