Skip to content

Commit 631838c

Browse files
committed
Tweaks for usage banner
1 parent 2d9cbea commit 631838c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cli/src/components/usage-banner.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { isClaudeOAuthValid } from '@codebuff/sdk'
2+
import { TextAttributes } from '@opentui/core'
23
import open from 'open'
34
import React, { useEffect, useMemo, useState } from 'react'
45

@@ -155,7 +156,7 @@ export const UsageBanner = ({ showTime }: { showTime: number }) => {
155156
)}
156157
</box>
157158
{/* See more link */}
158-
<text style={{ fg: theme.muted }}>See more on codebuff.com</text>
159+
<text style={{ fg: theme.muted }}>See more on codebuff.com</text>
159160
</box>
160161
</Button>
161162

@@ -272,7 +273,7 @@ const SubscriptionUsageSection: React.FC<SubscriptionUsageSectionProps> = ({
272273
{useALaCarte ? 'spend credits' : 'pause'}
273274
</text>
274275
<Button onClick={handleToggleALaCarte}>
275-
<text style={{ fg: theme.muted }}>
276+
<text style={{ fg: theme.muted, attributes: TextAttributes.UNDERLINE }}>
276277
[{useALaCarte ? 'switch to pause' : 'switch to spend credits'}]
277278
</text>
278279
</Button>

0 commit comments

Comments
 (0)