From c4ef30b1513a8d2ca0188698a7225502aec4d17c Mon Sep 17 00:00:00 2001 From: bottlefish <781230111@qq.com> Date: Tue, 21 Jul 2026 18:50:33 +0800 Subject: [PATCH] =?UTF-8?q?style(screen):=20=E8=B0=83=E6=95=B4=E7=BB=B4?= =?UTF-8?q?=E4=BF=AE=E9=9D=A2=E6=9D=BF=E6=A0=87=E9=A2=98=E4=B8=8E=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=96=87=E6=9C=AC=E9=85=8D=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- .../FixSystemNew/Screen System/FixPanel/ScreenPanel.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/FixSystemNew/Screen System/FixPanel/ScreenPanel.cs b/Assets/Scripts/FixSystemNew/Screen System/FixPanel/ScreenPanel.cs index 6e3d040f8..ef22478a9 100644 --- a/Assets/Scripts/FixSystemNew/Screen System/FixPanel/ScreenPanel.cs +++ b/Assets/Scripts/FixSystemNew/Screen System/FixPanel/ScreenPanel.cs @@ -11,6 +11,8 @@ namespace AibisDream.FixSystem { private const string WarningCharacterKey = "Error"; private static readonly Color WarningRedColor = new(0.9607843f, 0.4235294f, 0.4235294f, 1f); + private static readonly Color AmberColor = new(0.9019608f, 0.6352941f, 0.2352941f, 1f); + private static readonly Color BodyTextColor = new(0.9196079f, 0.7009804f, 0.372549f, 1f); [SerializeField] private TMP_Text title; [SerializeField] private TerminalText logText; @@ -19,6 +21,8 @@ namespace AibisDream.FixSystem { EnumEventSystem.Global.Register(ScreenEventEnum.Selected, OnSelected); EnumEventSystem.Global.Register(EventEnum.PlugOut, ClearScreen); + + logText?.SetTextColor(BodyTextColor); } private void OnDestroy() @@ -45,7 +49,7 @@ namespace AibisDream.FixSystem StringComparison.OrdinalIgnoreCase); title.overrideColorTags = true; - title.color = isWarning ? WarningRedColor : Color.white; + title.color = isWarning ? WarningRedColor : AmberColor; title.text = token.lineInfo.character.GetActorName(); logText.SetTypewriterSpeed(GetTextSpeedValue()); logText.AddText(token.lineInfo.lineText);