🎨 style: Color Image Tool Labels With the Activity Rows' Secondary Role (#15900)

The image generation and edit row set no text color, so its label inherited
`text-text-primary` from the message container. Every sibling row renders its
label in `text-text-secondary`, including this row's own icon. A finished,
failed or cancelled image label, and a running one under reduced motion where
the shimmer paints `currentcolor`, read brighter than the rows around it.

The row container now carries `text-text-secondary`, the way the generic tool
row's wrapper and the tool group header set their color.
This commit is contained in:
Danny Avila 2026-09-13 23:13:13 -04:00 • committed by GitHub
parent f3991f2949
commit c2f3d0c07b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -259,7 +259,7 @@ export default function OpenAIImageGen({
return intent ?? localize('com_ui_image_created');
})()}
</span>
<div className="relative my-1 flex h-5 shrink-0 items-center gap-2">
<div className="relative my-1 flex h-5 shrink-0 items-center gap-2 text-text-secondary">
<span className={ROW_GLYPH_SLOT} aria-hidden="true">
<ToolIcon type="image_gen" isAnimating={isInProgress} />
</span>