From 4c3eb7f334abb8129b57e86f2935d75d0b3070b4 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 03 三月 2025 18:55:31 +0800
Subject: [PATCH] 完善UI;新增TestResult;

---
 HMI.UI/Style/MsgBoxStyle.xaml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/HMI.UI/Style/MsgBoxStyle.xaml b/HMI.UI/Style/MsgBoxStyle.xaml
index f782ed6..35fc189 100644
--- a/HMI.UI/Style/MsgBoxStyle.xaml
+++ b/HMI.UI/Style/MsgBoxStyle.xaml
@@ -130,4 +130,12 @@
         </pu:ToastSettings.LabelStyle>
     </pu:ToastSettings>
 
+    <pu:ToastSettings x:Key="toastError" Spacing="25">
+        <pu:ToastSettings.LabelStyle>
+            <Style TargetType="Label" BasedOn="{StaticResource {x:Static pu:Toast.LabelStyleKey}}">
+                <Setter Property="Background" Value="{StaticResource DangerColor}" />
+                <Setter Property="Foreground" Value="{StaticResource DangerColorContrast}" />
+            </Style>
+        </pu:ToastSettings.LabelStyle>
+    </pu:ToastSettings>
 </ResourceDictionary>
\ No newline at end of file

--
Gitblit v1.9.1