From 7b903bb86375e9df24a725288d1c876b8d2b0e61 Mon Sep 17 00:00:00 2001
From: chr <chr@mailcom>
Date: 星期一, 03 三月 2025 19:47:49 +0800
Subject: [PATCH] 整合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