mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-19 06:23:32 +00:00
🎨 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:
parent
f3991f2949
commit
c2f3d0c07b
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue