Skip to content

Commit 052f615

Browse files
fix(mobile): usage and add-environment cards use the settings card color
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 4246cd2 commit 052f615

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎apps/mobile/src/features/connection/ConnectionsNewRouteScreen.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ export function ConnectionsNewRouteScreen({
226226
/>
227227
</View>
228228
) : (
229-
<View className="items-center gap-3 rounded-[24px] border-continuous bg-card px-5 py-8">
229+
<View className="items-center gap-3 rounded-[24px] border-continuous bg-grouped-card px-5 py-8">
230230
<Text className="text-center text-sm leading-normal text-foreground-muted">
231231
Camera permission is required to scan a QR code.
232232
</Text>
@@ -242,7 +242,7 @@ export function ConnectionsNewRouteScreen({
242242
</View>
243243
)
244244
) : (
245-
<View collapsable={false} className="gap-4 rounded-[24px] bg-card p-4">
245+
<View collapsable={false} className="gap-4 rounded-[24px] bg-grouped-card p-4">
246246
<ConnectionFormField
247247
label="Host"
248248
autoCapitalize="none"

‎apps/mobile/src/features/usage/UsageLimitsPooled.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function PoolWindowCard({
100100
},
101101
});
102102
return (
103-
<View className="gap-3 rounded-[24px] border-continuous bg-card p-4">
103+
<View className="gap-3 rounded-[24px] border-continuous bg-grouped-card p-4">
104104
<View className="flex-row items-start justify-between gap-3">
105105
<View className="gap-1">
106106
<Text className="text-sm font-t3-medium text-foreground">{label ?? pool.label}</Text>
@@ -383,7 +383,7 @@ export function UsageLimitAccountScreen({ route }: AccountScreenProps) {
383383
</Text>
384384
) : null}
385385
</View>
386-
<View className="gap-3 rounded-[24px] border-continuous bg-card p-4">
386+
<View className="gap-3 rounded-[24px] border-continuous bg-grouped-card p-4">
387387
<Text className="text-sm font-t3-medium text-foreground">{window.label}</Text>
388388
<Text className="text-3xl font-t3-bold tabular-nums text-foreground">
389389
{remainingPercent(window)}% left
@@ -403,7 +403,7 @@ export function UsageLimitAccountScreen({ route }: AccountScreenProps) {
403403
</Text>
404404
) : null}
405405
</View>
406-
<View className="gap-2 rounded-[24px] border-continuous bg-card p-4">
406+
<View className="gap-2 rounded-[24px] border-continuous bg-grouped-card p-4">
407407
<Text className="text-sm font-t3-medium text-foreground">
408408
{account.environments.length ? "Signed in" : "Source"}
409409
</Text>
@@ -418,7 +418,7 @@ export function UsageLimitAccountScreen({ route }: AccountScreenProps) {
418418
)}
419419
</View>
420420
{account.redeem && account.limits.resetCredits ? (
421-
<View className="gap-3 rounded-[24px] border-continuous bg-card p-4">
421+
<View className="gap-3 rounded-[24px] border-continuous bg-grouped-card p-4">
422422
<Text className="text-sm font-t3-medium text-foreground">Reset credits</Text>
423423
<ResetCredits
424424
key={account.key}

‎apps/mobile/src/features/usage/UsageRouteScreen.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ function CursorEnableLimits({
457457
<ProviderIcon provider="cursor" size={18} />
458458
<Text className="text-base font-t3-medium text-foreground">Cursor</Text>
459459
</View>
460-
<View className="items-start gap-3 rounded-[24px] border-continuous bg-card p-4">
460+
<View className="items-start gap-3 rounded-[24px] border-continuous bg-grouped-card p-4">
461461
<Text className="text-xs text-foreground-muted">{CURSOR_KEYCHAIN_COPY}</Text>
462462
<View className="flex-row flex-wrap gap-2">
463463
{environments.map((environment) => (
@@ -491,7 +491,7 @@ function ChartCard(props: {
491491
const hasActivity = props.daily.some((period) => period.totalTokens > 0);
492492

493493
return (
494-
<View className="gap-4 rounded-[24px] border-continuous bg-card p-4">
494+
<View className="gap-4 rounded-[24px] border-continuous bg-grouped-card p-4">
495495
<View className="gap-0.5">
496496
<Text className="text-sm text-foreground-muted">
497497
{metric === "cost" ? "Raw token cost" : "Processed tokens"}

0 commit comments

Comments
 (0)