From 1fca2167068e9ef2c079ec742f20313fc6697ab1 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 03 三月 2025 09:18:33 +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