From 42800a6195988e78a43832f70bcba2d6169cd1e7 Mon Sep 17 00:00:00 2001 From: Phantom <59059173+EurFelux@users.noreply.github.com> Date: Tue, 12 Aug 2025 11:26:44 +0800 Subject: [PATCH] style(Inputbar): use primary color for inputbar tools (#9058) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit style(Inputbar): 将激活状态图标颜色从--color-link改为--color-primary --- src/renderer/src/pages/home/Inputbar/ThinkingButton.tsx | 2 +- src/renderer/src/pages/home/Inputbar/WebSearchButton.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/pages/home/Inputbar/ThinkingButton.tsx b/src/renderer/src/pages/home/Inputbar/ThinkingButton.tsx index 898a12bb4d..1ceb2cc52e 100644 --- a/src/renderer/src/pages/home/Inputbar/ThinkingButton.tsx +++ b/src/renderer/src/pages/home/Inputbar/ThinkingButton.tsx @@ -73,7 +73,7 @@ const ThinkingButton: FC = ({ ref, model, assistant, ToolbarButton }): Re }, [currentReasoningEffort, supportedOptions, updateAssistantSettings, model.id]) const createThinkingIcon = useCallback((option?: ThinkingOption, isActive: boolean = false) => { - const iconColor = isActive ? 'var(--color-link)' : 'var(--color-icon)' + const iconColor = isActive ? 'var(--color-primary)' : 'var(--color-icon)' switch (true) { case option === 'minimal': diff --git a/src/renderer/src/pages/home/Inputbar/WebSearchButton.tsx b/src/renderer/src/pages/home/Inputbar/WebSearchButton.tsx index 44fe80cbec..5f3b4b00a6 100644 --- a/src/renderer/src/pages/home/Inputbar/WebSearchButton.tsx +++ b/src/renderer/src/pages/home/Inputbar/WebSearchButton.tsx @@ -137,7 +137,7 @@ const WebSearchButton: FC = ({ ref, assistant, ToolbarButton }) => {