mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +00:00
Allow themes to theme the UI (#769)
This commit is contained in:
parent
2285bba66e
commit
8a0a2523ca
33 changed files with 533 additions and 385 deletions
|
|
@ -72,7 +72,7 @@ export const ToolMessage: React.FC<ToolMessageProps> = ({
|
|||
<Box flexDirection="column">
|
||||
{hiddenLines > 0 && (
|
||||
<Box>
|
||||
<Text color={Colors.SubtleComment}>
|
||||
<Text color={Colors.Gray}>
|
||||
... first {hiddenLines} line{hiddenLines === 1 ? '' : 's'}{' '}
|
||||
hidden ...
|
||||
</Text>
|
||||
|
|
@ -162,7 +162,7 @@ const ToolInfo: React.FC<ToolInfo> = ({
|
|||
case 'medium':
|
||||
return Colors.Foreground;
|
||||
case 'low':
|
||||
return Colors.SubtleComment;
|
||||
return Colors.Gray;
|
||||
default: {
|
||||
const exhaustiveCheck: never = emphasis;
|
||||
return exhaustiveCheck;
|
||||
|
|
@ -178,7 +178,7 @@ const ToolInfo: React.FC<ToolInfo> = ({
|
|||
<Text color={nameColor} bold>
|
||||
{name}
|
||||
</Text>{' '}
|
||||
<Text color={Colors.SubtleComment}>{description}</Text>
|
||||
<Text color={Colors.Gray}>{description}</Text>
|
||||
</Text>
|
||||
</Box>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue