style(Inputbar): use primary color for inputbar tools (#9058)

style(Inputbar): 将激活状态图标颜色从--color-link改为--color-primary
This commit is contained in:
Phantom 2025-08-12 11:26:44 +08:00 committed by GitHub
parent be29f163a3
commit 42800a6195
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ const ThinkingButton: FC<Props> = ({ 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':

View File

@ -137,7 +137,7 @@ const WebSearchButton: FC<Props> = ({ ref, assistant, ToolbarButton }) => {
<Globe
size={18}
style={{
color: enableWebSearch ? 'var(--color-link)' : 'var(--color-icon)'
color: enableWebSearch ? 'var(--color-primary)' : 'var(--color-icon)'
}}
/>
</ToolbarButton>