mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 21:05:51 +00:00
fix(effort): 统一用色版——选中 suggestion(蓝),未选中 subtle(灰)
弃用 purple_FOR_SUBAGENTS_ONLY(subagent 专用)。改与项目其他面板一致: - 选中档位 + ▲:color="suggestion"(Medium blue rgb(87,105,247))+ bold - 未选中档位 + 空 ▲ 占位:color="subtle"(Light gray rgb(175,175,175)) - 标题 / Faster / Smarter:color="suggestion" - 分隔线 / 副标签 / 底栏:color="subtle" Co-Authored-By: glm-5.2 <zai-org@claude-code-best.win>
This commit is contained in:
@@ -72,13 +72,13 @@ export function EffortPanel({ appStateEffort, onDone }: Props): React.ReactNode
|
||||
|
||||
return (
|
||||
<Box flexDirection="column" paddingX={1} width={PANEL_WIDTH + 2}>
|
||||
<Text bold color="purple_FOR_SUBAGENTS_ONLY">
|
||||
<Text bold color="suggestion">
|
||||
Effort
|
||||
</Text>
|
||||
{envActive && <Text color="warning">{`⚠ CLAUDE_CODE_EFFORT_LEVEL=${envRaw} overrides this session`}</Text>}
|
||||
<Box marginTop={1} flexDirection="row" justifyContent="space-between">
|
||||
<Text color="purple_FOR_SUBAGENTS_ONLY">Faster</Text>
|
||||
<Text color="purple_FOR_SUBAGENTS_ONLY">Smarter</Text>
|
||||
<Text color="suggestion">Faster</Text>
|
||||
<Text color="suggestion">Smarter</Text>
|
||||
</Box>
|
||||
{/* 分隔线 */}
|
||||
<Text color="subtle">{'─'.repeat(PANEL_WIDTH)}</Text>
|
||||
@@ -86,17 +86,17 @@ export function EffortPanel({ appStateEffort, onDone }: Props): React.ReactNode
|
||||
<Box flexDirection="row">
|
||||
{PANEL_POSITIONS.map(p => (
|
||||
<Box key={`cursor-${p}`} width={SEGMENT} justifyContent="center">
|
||||
<Text bold color="purple_FOR_SUBAGENTS_ONLY">
|
||||
<Text bold color={cursor === p ? 'suggestion' : 'subtle'}>
|
||||
{cursor === p ? '▲' : ' '}
|
||||
</Text>
|
||||
</Box>
|
||||
))}
|
||||
</Box>
|
||||
{/* 档位名 */}
|
||||
{/* 档位名:选中 suggestion + bold,未选中 subtle */}
|
||||
<Box flexDirection="row">
|
||||
{PANEL_POSITIONS.map(p => (
|
||||
<Box key={`label-${p}`} width={SEGMENT} justifyContent="center">
|
||||
<Text bold={cursor === p} color="purple_FOR_SUBAGENTS_ONLY">
|
||||
<Text bold={cursor === p} color={cursor === p ? 'suggestion' : 'subtle'}>
|
||||
{p}
|
||||
</Text>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user