mirror of
https://github.com/AtomUI/AtomUI.git
synced 2026-10-26 11:10:34 +08:00
Refactor Notifications
This commit is contained in:
@@ -137,28 +137,28 @@
|
||||
|
||||
<Style Selector="^[NotificationType=Information]">
|
||||
<Style Selector="^ /template/ atom|IconPresenter#PART_IconPresenter">
|
||||
<Setter Property="NormalFilledBrush"
|
||||
<Setter Property="Foreground"
|
||||
Value="{DynamicResource {x:Static atom:SharedTokenKey.ColorPrimary}}" />
|
||||
</Style>
|
||||
</Style>
|
||||
|
||||
<Style Selector="^[NotificationType=Error]">
|
||||
<Style Selector="^ /template/ atom|IconPresenter#PART_IconPresenter">
|
||||
<Setter Property="NormalFilledBrush"
|
||||
<Setter Property="Foreground"
|
||||
Value="{DynamicResource {x:Static atom:SharedTokenKey.ColorError}}" />
|
||||
</Style>
|
||||
</Style>
|
||||
|
||||
<Style Selector="^[NotificationType=Success]">
|
||||
<Style Selector="^ /template/ atom|IconPresenter#PART_IconPresenter">
|
||||
<Setter Property="NormalFilledBrush"
|
||||
<Setter Property="Foreground"
|
||||
Value="{DynamicResource {x:Static atom:SharedTokenKey.ColorSuccess}}" />
|
||||
</Style>
|
||||
</Style>
|
||||
|
||||
<Style Selector="^[NotificationType=Warning]">
|
||||
<Style Selector="^ /template/ atom|IconPresenter#PART_IconPresenter">
|
||||
<Setter Property="NormalFilledBrush"
|
||||
<Setter Property="Foreground"
|
||||
Value="{DynamicResource {x:Static atom:SharedTokenKey.ColorWarning}}" />
|
||||
</Style>
|
||||
</Style>
|
||||
@@ -182,10 +182,6 @@
|
||||
</Style>
|
||||
|
||||
<Style Selector="^ /template/ atom|IconButton#PART_CloseButton">
|
||||
<Setter Property="NormalIconBrush"
|
||||
Value="{DynamicResource {x:Static atom:SharedTokenKey.ColorIcon}}" />
|
||||
<Setter Property="ActiveIconBrush"
|
||||
Value="{DynamicResource {x:Static atom:SharedTokenKey.ColorIconHover}}" />
|
||||
<Setter Property="Padding"
|
||||
Value="{DynamicResource {x:Static atom:NotificationTokenKey.NotificationCloseButtonPadding}}" />
|
||||
<Setter Property="CornerRadius"
|
||||
|
||||
Reference in New Issue
Block a user