Skip to content

Commit d8a01c9

Browse files
miguelsolorioMillsondylan
authored andcommitted
Update shell tool call colors for confirmed actions (google-gemini#11126)
1 parent fe17130 commit d8a01c9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/cli/src/ui/components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const Footer: React.FC = () => {
170170
)}
171171
{!showErrorDetails && errorCount > 0 && (
172172
<Box paddingLeft={1} flexDirection="row">
173-
<Text color={theme.ui.symbol}>| </Text>
173+
<Text color={theme.ui.comment}>| </Text>
174174
<ConsoleSummaryDisplay errorCount={errorCount} />
175175
</Box>
176176
)}

packages/cli/src/ui/components/messages/ToolGroupMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const ToolGroupMessage: React.FC<ToolGroupMessageProps> = ({
5151
(t) => t.name === SHELL_COMMAND_NAME || t.name === SHELL_NAME,
5252
);
5353
const borderColor =
54-
isShellCommand || isEmbeddedShellFocused
54+
(isShellCommand && hasPending) || isEmbeddedShellFocused
5555
? theme.ui.symbol
5656
: hasPending
5757
? theme.status.warning

packages/cli/src/ui/components/messages/UserShellMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const UserShellMessage: React.FC<UserShellMessageProps> = ({ text }) => {
1818

1919
return (
2020
<Box>
21-
<Text color={theme.text.link}>$ </Text>
21+
<Text color={theme.ui.symbol}>$ </Text>
2222
<Text color={theme.text.primary}>{commandToDisplay}</Text>
2323
</Box>
2424
);

0 commit comments

Comments
 (0)