From 21e28b068c8d0763a6d4ab613388a77a0db157fb Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 03 三月 2025 19:01:30 +0800
Subject: [PATCH] 优化结构;
---
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