From 4e1d5982b11118c419cf0f496cfda81463720a51 Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Wed, 16 Jul 2025 16:18:36 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=B0=83=E6=95=B4=E8=82=89=E9=B8=BD?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Constants/UILogColor.cs | 5 +++++ src/MaaWpfGui/Main/AsstProxy.cs | 2 +- src/MaaWpfGui/Res/Themes/Dark.xaml | 18 ++++++++++-------- src/MaaWpfGui/Res/Themes/Light.xaml | 18 ++++++++++-------- 4 files changed, 26 insertions(+), 17 deletions(-) diff --git a/src/MaaWpfGui/Constants/UILogColor.cs b/src/MaaWpfGui/Constants/UILogColor.cs index 3dd6424ebc..9a5b22f853 100644 --- a/src/MaaWpfGui/Constants/UILogColor.cs +++ b/src/MaaWpfGui/Constants/UILogColor.cs @@ -113,6 +113,11 @@ namespace MaaWpfGui.Constants /// public const string BossIS = "BossIS"; + /// + /// The recommended color for abandoned. + /// + public const string ExplorationAbandonedIS = "ExplorationAbandonedIS"; + // 颜色在MaaWpfGui\Res\Themes中定义 // Brush are defined in MaaWpfGui\Res\Themes } diff --git a/src/MaaWpfGui/Main/AsstProxy.cs b/src/MaaWpfGui/Main/AsstProxy.cs index 7700221c3a..acc23abb0f 100644 --- a/src/MaaWpfGui/Main/AsstProxy.cs +++ b/src/MaaWpfGui/Main/AsstProxy.cs @@ -1313,7 +1313,7 @@ namespace MaaWpfGui.Main /* 肉鸽相关 */ case "ExitThenAbandon": - Instances.TaskQueueViewModel.AddLog(LocalizationHelper.GetString("ExplorationAbandoned"), UiLogColor.Error); + Instances.TaskQueueViewModel.AddLog(LocalizationHelper.GetString("ExplorationAbandoned"), UiLogColor.ExplorationAbandonedIS); AchievementTrackerHelper.Instance.AddProgress(AchievementIds.RoguelikeRetreat); break; diff --git a/src/MaaWpfGui/Res/Themes/Dark.xaml b/src/MaaWpfGui/Res/Themes/Dark.xaml index e3161ff13f..97f8ddbd1b 100644 --- a/src/MaaWpfGui/Res/Themes/Dark.xaml +++ b/src/MaaWpfGui/Res/Themes/Dark.xaml @@ -99,14 +99,16 @@ + - - - - - - - - + + + + + + + + + diff --git a/src/MaaWpfGui/Res/Themes/Light.xaml b/src/MaaWpfGui/Res/Themes/Light.xaml index a4fbb21fc5..fea509183f 100644 --- a/src/MaaWpfGui/Res/Themes/Light.xaml +++ b/src/MaaWpfGui/Res/Themes/Light.xaml @@ -79,14 +79,16 @@ + - - - - - - - - + + + + + + + + +