fix(vscode): pair selection foreground with highlight in model picker
This commit is contained in:
@@ -32,6 +32,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
- Desktop: browser pages served from a self-signed loopback HTTPS address now load instead of being blocked by the certificate warning.
|
- Desktop: browser pages served from a self-signed loopback HTTPS address now load instead of being blocked by the certificate warning.
|
||||||
- Browser: typing a comment on a page no longer triggers app shortcuts.
|
- Browser: typing a comment on a page no longer triggers app shortcuts.
|
||||||
- Skills Catalog: the source is now named ClawHub instead of "ClawdHub" (thanks to @makeittech).
|
- Skills Catalog: the source is now named ClawHub instead of "ClawdHub" (thanks to @makeittech).
|
||||||
|
- UI: the model selection menu no longer shows white text on a white highlight when a high-contrast theme is active, so the hovered or selected model stays legible.
|
||||||
|
|
||||||
## [1.18.4] - 2026-08-14
|
## [1.18.4] - 2026-08-14
|
||||||
|
|
||||||
|
|||||||
@@ -688,7 +688,9 @@ export const ModelPickerList: React.FC<ModelPickerListProps> = ({
|
|||||||
onMouseMove={handleMouseActivity}
|
onMouseMove={handleMouseActivity}
|
||||||
className={cn(
|
className={cn(
|
||||||
'w-full text-left px-2 py-1.5 rounded-md typography-meta flex items-center gap-2 cursor-pointer',
|
'w-full text-left px-2 py-1.5 rounded-md typography-meta flex items-center gap-2 cursor-pointer',
|
||||||
!disabled && (isHighlighted ? 'bg-interactive-selection' : 'hover:bg-interactive-hover/50'),
|
!disabled && (isHighlighted
|
||||||
|
? 'bg-interactive-selection text-interactive-selection-foreground'
|
||||||
|
: 'hover:bg-interactive-hover/50'),
|
||||||
disabled && 'cursor-not-allowed opacity-60',
|
disabled && 'cursor-not-allowed opacity-60',
|
||||||
rowClassName,
|
rowClassName,
|
||||||
)}
|
)}
|
||||||
@@ -701,9 +703,9 @@ export const ModelPickerList: React.FC<ModelPickerListProps> = ({
|
|||||||
) : null}
|
) : null}
|
||||||
{showProviderLogo ? <ProviderLogo providerId={entry.providerID} className="h-3.5 w-3.5 flex-shrink-0" /> : null}
|
{showProviderLogo ? <ProviderLogo providerId={entry.providerID} className="h-3.5 w-3.5 flex-shrink-0" /> : null}
|
||||||
<span className="font-medium truncate">{getModelDisplayName(entry.model)}</span>
|
<span className="font-medium truncate">{getModelDisplayName(entry.model)}</span>
|
||||||
{contextTokens ? <span className="typography-micro text-muted-foreground flex-shrink-0">{contextTokens}</span> : null}
|
{contextTokens ? <span className={cn('typography-micro flex-shrink-0', isHighlighted ? 'text-interactive-selection-foreground/70' : 'text-muted-foreground')}>{contextTokens}</span> : null}
|
||||||
</div>
|
</div>
|
||||||
{count > 0 ? <span className="typography-micro text-muted-foreground flex-shrink-0">x{count}</span> : null}
|
{count > 0 ? <span className={cn('typography-micro flex-shrink-0', isHighlighted ? 'text-interactive-selection-foreground/70' : 'text-muted-foreground')}>x{count}</span> : null}
|
||||||
{renderRowEnd?.(entry, { isHighlighted, isSelected })}
|
{renderRowEnd?.(entry, { isHighlighted, isSelected })}
|
||||||
{isSelected ? <Icon name="check" className="h-4 w-4 text-primary flex-shrink-0" /> : null}
|
{isSelected ? <Icon name="check" className="h-4 w-4 text-primary flex-shrink-0" /> : null}
|
||||||
{onToggleFavorite ? (
|
{onToggleFavorite ? (
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
- Attachments: extracted Office and OpenDocument content is now capped and presented more compactly, preventing large documents and their images from overwhelming the message context.
|
- Attachments: extracted Office and OpenDocument content is now capped and presented more compactly, preventing large documents and their images from overwhelming the message context.
|
||||||
- Projects: project names now match the folder name exactly, so `.ssh` and `opencode-claude` are no longer shown as `.Ssh` and `Opencode Claude`; names you renamed yourself are kept.
|
- Projects: project names now match the folder name exactly, so `.ssh` and `opencode-claude` are no longer shown as `.Ssh` and `Opencode Claude`; names you renamed yourself are kept.
|
||||||
- Skills Catalog: the source is now named ClawHub instead of "ClawdHub" (thanks to @makeittech).
|
- Skills Catalog: the source is now named ClawHub instead of "ClawdHub" (thanks to @makeittech).
|
||||||
|
- The model selection menu no longer shows white text on a white highlight when a high-contrast theme is active, so the hovered or selected model stays legible.
|
||||||
|
|
||||||
## [1.18.4] - 2026-08-14
|
## [1.18.4] - 2026-08-14
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user