mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
perf: colorful sleep
This commit is contained in:
@@ -138,4 +138,7 @@
|
||||
<SolidColorBrush x:Key="BoskyPlaytimeIS" Color="#baabb0" />
|
||||
<SolidColorBrush x:Key="BoskyDoubtsIS" Color="#b5b09a" />
|
||||
|
||||
<!-- DeepSleep -->
|
||||
<SolidColorBrush x:Key="DeepSleepBrush" Color="#5686FE" />
|
||||
|
||||
</ResourceDictionary>
|
||||
|
||||
@@ -120,4 +120,7 @@
|
||||
<SolidColorBrush x:Key="BoskyPlaytimeIS" Color="#998a8f" />
|
||||
<SolidColorBrush x:Key="BoskyDoubtsIS" Color="#948f79" />
|
||||
|
||||
<!-- DeepSleep -->
|
||||
<SolidColorBrush x:Key="DeepSleepBrush" Color="#3964FE" />
|
||||
|
||||
</ResourceDictionary>
|
||||
|
||||
@@ -421,9 +421,11 @@
|
||||
<Button.Style>
|
||||
<Style BasedOn="{StaticResource MaaButtonDefaultStyle}" TargetType="Button">
|
||||
<Setter Property="hc:IconElement.Geometry" Value="{x:Null}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource PrimaryTextBrush}" />
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding ShowDeepSleepIcon}" Value="True">
|
||||
<Setter Property="hc:IconElement.Geometry" Value="{StaticResource DeepSleep}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource DeepSleepBrush}" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
|
||||
Reference in New Issue
Block a user