Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8b5e74

Browse files
authored
feat: optimize thinking style (#4553)
1 parent 30a6932 commit b8b5e74

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

packages/ai-native/src/browser/components/components.module.less

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,21 +554,41 @@
554554
align-items: center;
555555
gap: 4px;
556556
margin-bottom: 4px;
557-
transition: color 0.2s ease-in-out;
557+
transition: all 0.2s ease-in-out;
558+
background: var(--design-container-background);
559+
border: none;
560+
padding: 4px 8px;
561+
border-radius: 4px;
562+
font-size: 12px;
563+
color: var(--design-text-foreground);
564+
565+
&:hover {
566+
background: var(--design-block-hoverBackground);
567+
}
568+
558569
:global {
559570
.codicon {
560571
color: inherit;
561572
}
562573
.codicon-sparkle {
563574
margin-right: -1px;
564575
font-size: 14px;
576+
color: var(--design-text-foreground);
577+
}
578+
.codicon-chevron-right,
579+
.codicon-chevron-down {
580+
font-size: 12px;
581+
margin-left: 2px;
565582
}
566583
}
567584
}
568585
.reasoning_content {
569-
padding-left: 12px;
586+
padding: 8px 12px;
587+
margin-top: 4px;
570588
border-left: 2px solid var(--descriptionForeground);
571589
color: var(--descriptionForeground);
590+
background: var(--design-block-background);
591+
border-radius: 4px;
572592
}
573593
}
574594

packages/i18n/src/common/en-US.lang.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,7 @@ export const localizationBundle = {
14641464
'aiNative.chat.enter.send': 'Send (Enter)',
14651465
'aiNative.chat.defaultContextFile': 'Current File',
14661466
'aiNative.chat.defaultContextFolder': 'Current Folder',
1467-
'aiNative.chat.thinking': 'Deep Think',
1467+
'aiNative.chat.thinking': 'Deep Thinking',
14681468
'aiNative.chat.imageUpload': 'Upload Image',
14691469
'aiNative.chat.clearContext': 'Clear Context',
14701470
'aiNative.chat.context.description': 'Total {0} References',

0 commit comments

Comments
 (0)