From f575c0d1f5e3daaecdb2bb9fc657c87686df6a52 Mon Sep 17 00:00:00 2001 From: songkeys Date: Thu, 16 Oct 2025 15:35:29 +0800 Subject: [PATCH] refactor: update AIChatPane styles for improved consistency - Changed background color class from a hex value to a Tailwind utility class for better maintainability. - Simplified class names in the Welcome component for clarity and consistency. --- .../renderer/src/modules/new-user-guide/ai-chat-pane.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/apps/desktop/layer/renderer/src/modules/new-user-guide/ai-chat-pane.tsx b/apps/desktop/layer/renderer/src/modules/new-user-guide/ai-chat-pane.tsx index 822cefd5d..696aea17a 100644 --- a/apps/desktop/layer/renderer/src/modules/new-user-guide/ai-chat-pane.tsx +++ b/apps/desktop/layer/renderer/src/modules/new-user-guide/ai-chat-pane.tsx @@ -92,7 +92,7 @@ function pickSuggestionKeys(previous?: readonly SuggestionKey[]): SuggestionKey[ export function AIChatPane() { return ( -
+
) @@ -205,10 +205,7 @@ function Welcome({ onSuggestionClick }: WelcomeProps) { key={suggestionKey} onClick={() => onClickSuggestion(suggestionText)} animationDelay={index * 0.05} - className={cn( - "font-normal text-black shadow-[0_12px_30px_rgba(15,15,15,0.35)] hover:text-black", - gradientByIndex(index), - )} + className={cn("font-normal text-black", gradientByIndex(index))} > {suggestionText}