From e80754647c90c0320ddd89e36c4b8ac1e738b87b Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Wed, 10 Jun 2026 03:30:25 -0500 Subject: [PATCH 1/3] style(desktop): render in-thread tool codicons as filled glyphs Outline codicons read too thin at conversation-tool scale; a scoped filled modifier thickens tool-row and code-card icons without changing icon semantics elsewhere in the shell. --- .../src/components/assistant-ui/tool-fallback.tsx | 2 +- apps/desktop/src/components/chat/code-card.tsx | 3 ++- apps/desktop/src/components/ui/codicon.tsx | 12 ++++++++++-- apps/desktop/src/styles.css | 8 ++++++++ 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/apps/desktop/src/components/assistant-ui/tool-fallback.tsx b/apps/desktop/src/components/assistant-ui/tool-fallback.tsx index 6f3e7edd340..1a1087f55f1 100644 --- a/apps/desktop/src/components/assistant-ui/tool-fallback.tsx +++ b/apps/desktop/src/components/assistant-ui/tool-fallback.tsx @@ -136,7 +136,7 @@ function ToolGlyph({ copy, icon, status }: { copy: ToolStatusCopy; icon?: string const node = status ? ( statusGlyph(status, copy) ) : icon ? ( - + ) : null return node ? {node} : null diff --git a/apps/desktop/src/components/chat/code-card.tsx b/apps/desktop/src/components/chat/code-card.tsx index 46997caa4d7..02df72ea573 100644 --- a/apps/desktop/src/components/chat/code-card.tsx +++ b/apps/desktop/src/components/chat/code-card.tsx @@ -46,11 +46,12 @@ function CodeCardTitle({ className, children, ...props }: React.ComponentProps<' ) } -function CodeCardIcon({ className, ...props }: CodiconProps) { +function CodeCardIcon({ className, filled = true, ...props }: CodiconProps) { return ( ) diff --git a/apps/desktop/src/components/ui/codicon.tsx b/apps/desktop/src/components/ui/codicon.tsx index b079216884c..daacd625b8a 100644 --- a/apps/desktop/src/components/ui/codicon.tsx +++ b/apps/desktop/src/components/ui/codicon.tsx @@ -3,16 +3,24 @@ import type * as React from 'react' import { cn } from '@/lib/utils' export interface CodiconProps extends React.HTMLAttributes { + /** Thickens outline glyphs so they read as filled at small sizes (tool rows). */ + filled?: boolean name: string size?: number | string spinning?: boolean } -export function Codicon({ className, name, size, spinning, style, ...props }: CodiconProps) { +export function Codicon({ className, filled, name, size, spinning, style, ...props }: CodiconProps) { return (