Skip to content

Commit 25b24ae

Browse files
committed
Tweak color of bottom bar claude subscription percent usage
1 parent a50eb53 commit 25b24ae

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

cli/src/components/bottom-status-line.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,16 @@ export const BottomStatusLine: React.FC<BottomStatusLineProps> = ({
7474
{isExhausted && resetTime ? (
7575
<text style={{ fg: theme.muted }}>{` · resets in ${formatResetTime(resetTime)}`}</text>
7676
) : displayRemaining !== null ? (
77-
<text style={{ fg: theme.foreground }}>{` ${Math.round(displayRemaining)}%`}</text>
77+
<text
78+
style={{
79+
fg:
80+
displayRemaining <= 10
81+
? theme.error
82+
: displayRemaining <= 25
83+
? theme.warning
84+
: theme.muted,
85+
}}
86+
>{` ${Math.round(displayRemaining)}%`}</text>
7887
) : null}
7988
</box>
8089
</box>

0 commit comments

Comments
 (0)