alielie
2025-03-13 ba6207f52db76ab47cd6534de0cf1712674ff179
HMI.UI/Style/MsgBoxStyle.xaml
@@ -112,22 +112,30 @@
        </pu:MessageBoxXSettings.ButtonStyle>
    </pu:MessageBoxXSettings>
    <pu:ToastSettings x:Key="toastSuccess" Spacing="25">
        <pu:ToastSettings.LabelStyle>
    <pu:ToastSetting x:Key="toastSuccess" Spacing="25">
        <pu:ToastSetting.LabelStyle>
            <Style TargetType="Label" BasedOn="{StaticResource {x:Static pu:Toast.LabelStyleKey}}">
                <Setter Property="Background" Value="{StaticResource SuccessColor}" />
                <Setter Property="Foreground" Value="{StaticResource SuccessColorContrast}" />
            </Style>
        </pu:ToastSettings.LabelStyle>
    </pu:ToastSettings>
        </pu:ToastSetting.LabelStyle>
    </pu:ToastSetting>
    <pu:ToastSettings x:Key="toastWarning" Spacing="25">
        <pu:ToastSettings.LabelStyle>
    <pu:ToastSetting x:Key="toastWarning" Spacing="25">
        <pu:ToastSetting.LabelStyle>
            <Style TargetType="Label" BasedOn="{StaticResource {x:Static pu:Toast.LabelStyleKey}}">
                <Setter Property="Background" Value="{StaticResource WarningColor}" />
                <Setter Property="Foreground" Value="{StaticResource SuccessColorContrast}" />
            </Style>
        </pu:ToastSettings.LabelStyle>
    </pu:ToastSettings>
        </pu:ToastSetting.LabelStyle>
    </pu:ToastSetting>
    <pu:ToastSetting x:Key="toastError" Spacing="25">
        <pu:ToastSetting.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:ToastSetting.LabelStyle>
    </pu:ToastSetting>
</ResourceDictionary>