Skip to content

Commit 4246cd2

Browse files
fix(mobile): add-project screens use the settings card color
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 93039fc commit 4246cd2

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

‎apps/mobile/src/features/projects/AddProjectScreen.tsx‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ function ListSection(props: { readonly children: ReactNode }) {
175175
<View
176176
className={
177177
Platform.OS === "android"
178-
? "overflow-hidden rounded-[28px] bg-card"
179-
: "overflow-hidden rounded-[24px] bg-card"
178+
? "overflow-hidden rounded-[28px] bg-grouped-card"
179+
: "overflow-hidden rounded-[24px] bg-grouped-card"
180180
}
181181
>
182182
{props.children}
@@ -197,6 +197,7 @@ function ListRow(props: {
197197
if (Platform.OS === "android") {
198198
return (
199199
<MaterialListRow
200+
className="bg-grouped-card"
200201
title={props.title}
201202
subtitle={props.subtitle}
202203
leading={props.icon}
@@ -213,7 +214,7 @@ function ListRow(props: {
213214
disabled={props.disabled}
214215
onPress={props.onPress}
215216
className={cn(
216-
"bg-card px-3.5 py-2.5 active:opacity-70",
217+
"bg-grouped-card px-3.5 py-2.5 active:opacity-70",
217218
!props.isFirst && "border-t border-border-subtle",
218219
props.disabled && "opacity-[0.45]",
219220
)}
@@ -448,7 +449,7 @@ function EmptyEnvironmentState() {
448449
const navigation = useNavigation();
449450

450451
return (
451-
<View className="items-center gap-3 rounded-2xl bg-card px-5 py-8">
452+
<View className="items-center gap-3 rounded-2xl bg-grouped-card px-5 py-8">
452453
<Text className="text-center text-lg font-t3-bold">Environment unavailable</Text>
453454
<Text className="text-center text-sm leading-normal text-foreground-muted">
454455
Start or reconnect an environment before adding a project.
@@ -1333,7 +1334,7 @@ export function AddProjectDestinationScreen(props: {
13331334
<AddProjectShell title="Clone destination">
13341335
{error ? <ErrorBanner message={error} /> : null}
13351336
{repositoryTitle ? (
1336-
<View className="rounded-[24px] bg-card px-4 py-3">
1337+
<View className="rounded-[24px] bg-grouped-card px-4 py-3">
13371338
<Text className="text-base font-t3-bold">{repositoryTitle}</Text>
13381339
<Text className="mt-0.5 text-xs text-foreground-muted" numberOfLines={2}>
13391340
{remoteUrl}

0 commit comments

Comments
 (0)